projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
970ef6a
)
fix missing static in getusershell (namespace pollution)
author
Rich Felker
<dalias@aerifal.cx>
Thu, 2 Aug 2012 18:32:17 +0000
(14:32 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Thu, 2 Aug 2012 18:32:17 +0000
(14:32 -0400)
src/misc/getusershell.c
patch
|
blob
|
history
diff --git
a/src/misc/getusershell.c
b/src/misc/getusershell.c
index 11e697b6a69ab7687f2c07c7627c1bc995a53b67..683158c85af5e615fcbfdfc8842457a96c297aee 100644
(file)
--- 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;
+s
tatic s
ize_t linesize;
static FILE *f;
void endusershell(void)