forked from len0rd/rockbox
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
This commit is contained in:
parent
0307cd16a0
commit
d767883a41
11 changed files with 19 additions and 17 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue