From 2d96df3dd6f352d522a224643b6206e680855398 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Tue, 23 Jan 2018 15:14:42 +0100 Subject: 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. --- src/metaentry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/metaentry.c') 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; -- cgit v1.2.1