summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRob Landley2006-03-14 21:45:38 +0000
committerRob Landley2006-03-14 21:45:38 +0000
commit31642d75e1725be5f27ce9cfbe477689ec8bfb3e (patch)
tree1b0f3f6af10dd49b2b1c54ccbf9e82feb070c50d /libbb
parent386f85eadf1974eaac5cdb6335875b61d6484d4f (diff)
downloadbusybox-31642d75e1725be5f27ce9cfbe477689ec8bfb3e.zip
busybox-31642d75e1725be5f27ce9cfbe477689ec8bfb3e.tar.gz
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 4114090..9ee4fcd 100644
--- a/libbb/xfuncs.c
+++ b/libbb/xfuncs.c
@@ -57,7 +57,8 @@ void *xcalloc(size_t nmemb, size_t size)
#endif /* DMALLOC */
#ifdef L_xstrdup
-extern char * bb_xstrdup (const char *s) {
+char * bb_xstrdup (const char *s)
+{
char *t;
if (s == NULL)
@@ -73,7 +74,8 @@ extern char * bb_xstrdup (const char *s) {
#endif
#ifdef L_xstrndup
-extern char * bb_xstrndup (const char *s, int n) {
+char * bb_xstrndup (const char *s, int n)
+{
char *t;
if (s == NULL)