From: Rich Felker Date: Thu, 2 Aug 2012 18:32:17 +0000 (-0400) Subject: fix missing static in getusershell (namespace pollution) X-Git-Tag: v0.9.3~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=129ca6c05d9ad155b02ed9198798c5e33673f195;p=musl fix missing static in getusershell (namespace pollution) --- diff --git a/src/misc/getusershell.c b/src/misc/getusershell.c index 11e697b6..683158c8 100644 --- a/src/misc/getusershell.c +++ b/src/misc/getusershell.c @@ -6,7 +6,7 @@ static const char defshells[] = "/bin/sh\n/bin/csh\n"; static char *line; -size_t linesize; +static size_t linesize; static FILE *f; void endusershell(void)