From 27166fb0b1eaa538555fe1306b5ca8922520584f Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Fri, 15 Mar 2019 07:57:15 +0100 Subject: treewide: Make locally used functions static Many functions are only used locally but still are globally visible. Make these function static. Avoids warnings generated with -Wmissing-prototypes Signed-off-by: Sascha Hauer --- fs/bpkfs.c | 2 +- fs/uimagefs.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'fs') diff --git a/fs/bpkfs.c b/fs/bpkfs.c index 655cde09b7..414108befe 100644 --- a/fs/bpkfs.c +++ b/fs/bpkfs.c @@ -25,7 +25,7 @@ static bool bpkfs_is_crc_file(struct bpkfs_handle_data *d) return d->type & (1 << 31); } -const char* bpkfs_type_to_str(uint32_t type) +static const char* bpkfs_type_to_str(uint32_t type) { switch (type) { case BPKFS_TYPE_BL: diff --git a/fs/uimagefs.c b/fs/uimagefs.c index e5ada82da8..72641c58b5 100644 --- a/fs/uimagefs.c +++ b/fs/uimagefs.c @@ -25,7 +25,7 @@ static bool uimagefs_is_data_file(struct uimagefs_handle_data *d) return d->type == UIMAGEFS_DATA; } -const char* uimagefs_type_to_str(enum uimagefs_type type) +static const char* uimagefs_type_to_str(enum uimagefs_type type) { switch (type) { case UIMAGEFS_DATA: -- cgit v1.2.3