about summary refs log tree commit diff
path: root/src/misc/getusershell.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2012-08-02 14:32:17 -0400
committerRich Felker <dalias@aerifal.cx>2012-08-02 14:32:17 -0400
commit129ca6c05d9ad155b02ed9198798c5e33673f195 (patch)
tree39fc1a6db6b9d353d8a92ec98d1cafd06e1e8a0d /src/misc/getusershell.c
parent970ef6a1240adfd685c27bf3407dfd06606a17e8 (diff)
downloadmusl-129ca6c05d9ad155b02ed9198798c5e33673f195.tar.gz
musl-129ca6c05d9ad155b02ed9198798c5e33673f195.tar.xz
musl-129ca6c05d9ad155b02ed9198798c5e33673f195.zip
fix missing static in getusershell (namespace pollution)
Diffstat (limited to 'src/misc/getusershell.c')
-rw-r--r--src/misc/getusershell.c2
1 files changed, 1 insertions, 1 deletions
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)