summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-01-23 15:14:42 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-01-23 15:14:42 +0100
commit2d96df3dd6f352d522a224643b6206e680855398 (patch)
tree87a9fcb814852057928779d5bfce0b9da9a78ab9 /src
parent5028a8e1b6f4d2848f93c36728b09b7a86304cca (diff)
Fix sparse warning: symbol was not declared. Should it be static?
Declare file-scope objects or functions that do not need external linkage as static.
Diffstat (limited to 'src')
-rw-r--r--src/metaentry.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/metaentry.c b/src/metaentry.c
index 55bd1ac..72a9103 100644
--- a/src/metaentry.c
+++ b/src/metaentry.c
@@ -106,7 +106,7 @@ mentry_alloc(void)
}
/* Does a bisect search for the closest match in a metaentry list */
-struct metaentry *
+static struct metaentry *
mentry_find(const char *path, struct metahash *mhash)
{
struct metaentry *base;