aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-03-14 21:45:38 +0000
committerRob Landley <rob@landley.net>2006-03-14 21:45:38 +0000
commit31642d75e1725be5f27ce9cfbe477689ec8bfb3e (patch)
tree1b0f3f6af10dd49b2b1c54ccbf9e82feb070c50d /libbb
parent386f85eadf1974eaac5cdb6335875b61d6484d4f (diff)
downloadbusybox-w32-31642d75e1725be5f27ce9cfbe477689ec8bfb3e.tar.gz
busybox-w32-31642d75e1725be5f27ce9cfbe477689ec8bfb3e.tar.bz2
busybox-w32-31642d75e1725be5f27ce9cfbe477689ec8bfb3e.zip
More "extern" removals from Robert P. Day
Diffstat (limited to 'libbb')
-rw-r--r--libbb/xfuncs.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c
index 4114090de..9ee4fcd65 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -57,7 +57,8 @@ void *xcalloc(size_t nmemb, size_t size)
57#endif /* DMALLOC */ 57#endif /* DMALLOC */
58 58
59#ifdef L_xstrdup 59#ifdef L_xstrdup
60extern char * bb_xstrdup (const char *s) { 60char * bb_xstrdup (const char *s)
61{
61 char *t; 62 char *t;
62 63
63 if (s == NULL) 64 if (s == NULL)
@@ -73,7 +74,8 @@ extern char * bb_xstrdup (const char *s) {
73#endif 74#endif
74 75
75#ifdef L_xstrndup 76#ifdef L_xstrndup
76extern char * bb_xstrndup (const char *s, int n) { 77char * bb_xstrndup (const char *s, int n)
78{
77 char *t; 79 char *t;
78 80
79 if (s == NULL) 81 if (s == NULL)