OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.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
11e697b
..
683158c
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)