mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Documentation/: fix warnings from -Wmissing-prototypes in HOSTCFLAGS
Fix up -Wmissing-prototypes in compileable userspace code, mainly under Documentation/. Signed-off-by: Ladinu Chandrasinghe <ladinu.pub@gmail.com> Signed-off-by: Trevor Keith <tsrk@tsrk.net> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
912e837aef
commit
b7ed698cc9
11 changed files with 90 additions and 90 deletions
|
|
@ -176,7 +176,7 @@ static int is_unknown_symbol(struct symbol *sym)
|
|||
strcmp(defn->string, "{") == 0);
|
||||
}
|
||||
|
||||
struct symbol *__add_symbol(const char *name, enum symbol_type type,
|
||||
static struct symbol *__add_symbol(const char *name, enum symbol_type type,
|
||||
struct string_list *defn, int is_extern,
|
||||
int is_reference)
|
||||
{
|
||||
|
|
@ -265,7 +265,7 @@ struct symbol *add_symbol(const char *name, enum symbol_type type,
|
|||
return __add_symbol(name, type, defn, is_extern, 0);
|
||||
}
|
||||
|
||||
struct symbol *add_reference_symbol(const char *name, enum symbol_type type,
|
||||
static struct symbol *add_reference_symbol(const char *name, enum symbol_type type,
|
||||
struct string_list *defn, int is_extern)
|
||||
{
|
||||
return __add_symbol(name, type, defn, is_extern, 1);
|
||||
|
|
@ -313,7 +313,7 @@ static int equal_list(struct string_list *a, struct string_list *b)
|
|||
|
||||
#define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0]))
|
||||
|
||||
struct string_list *read_node(FILE *f)
|
||||
static struct string_list *read_node(FILE *f)
|
||||
{
|
||||
char buffer[256];
|
||||
struct string_list node = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue