From f79a70d1b9bab78fca515ac9142607ce2414e333 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sun, 20 Aug 2006 00:50:44 +0000 Subject: Fix warnings for -Wmissing-prototypes Add -Wmissing-prototypes if compiling with gcc Static where possible git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/ls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ls.c') diff --git a/src/ls.c b/src/ls.c index 427d01b43..9a4c07eca 100644 --- a/src/ls.c +++ b/src/ls.c @@ -224,7 +224,7 @@ char *getSuffix(char *utf8file) return ret; } -int hasSuffix(char *utf8file, char *suffix) +static int hasSuffix(char *utf8file, char *suffix) { char *s = getSuffix(utf8file); if (s && 0 == strcmp(s, suffix)) -- cgit v1.2.3