diff options
| author | Bertrik Sikken <bertrik@sikken.nl> | 2009-08-06 09:28:25 +0000 |
|---|---|---|
| committer | Bertrik Sikken <bertrik@sikken.nl> | 2009-08-06 09:28:25 +0000 |
| commit | d767883a417667ceebf5bb241d02337f34bc8016 (patch) | |
| tree | 7136c4a1fd24d01176d3790e4b5d49f39cd6267b /firmware/usbstack/usb_hid.c | |
| parent | 0307cd16a094b9b03da8fbcf237470ce2ad75cf7 (diff) | |
| download | rockbox-d767883a417667ceebf5bb241d02337f34bc8016.zip rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.gz rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.bz2 rockbox-d767883a417667ceebf5bb241d02337f34bc8016.tar.xz | |
Various files: make functions static if they're local or make sure there is a proper #include if not
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22184 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack/usb_hid.c')
| -rw-r--r-- | firmware/usbstack/usb_hid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/usbstack/usb_hid.c b/firmware/usbstack/usb_hid.c index e1ae75c..4eb2584 100644 --- a/firmware/usbstack/usb_hid.c +++ b/firmware/usbstack/usb_hid.c @@ -277,7 +277,7 @@ void buf_dump(unsigned char *buf, size_t size) #define buf_dump(...) #endif -uint8_t buf_set_keyboard(unsigned char *buf, int id) +static uint8_t buf_set_keyboard(unsigned char *buf, int id) { memset(buf, 0, 7); @@ -289,7 +289,7 @@ uint8_t buf_set_keyboard(unsigned char *buf, int id) return 7; } -uint8_t buf_set_consumer(unsigned char *buf, int id) +static uint8_t buf_set_consumer(unsigned char *buf, int id) { memset(buf, 0, 4); buf[0] = (uint8_t)id; |