diff options
| author | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-14 21:45:38 +0000 |
|---|---|---|
| committer | landley <landley@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-14 21:45:38 +0000 |
| commit | 24fce4d29cbc57dd16e64d5e0b128d49c3da31ab (patch) | |
| tree | 1b0f3f6af10dd49b2b1c54ccbf9e82feb070c50d /libbb | |
| parent | 74e44aee33e9289ce2c2c5f99876fddbcd1d1be6 (diff) | |
| download | busybox-w32-24fce4d29cbc57dd16e64d5e0b128d49c3da31ab.tar.gz busybox-w32-24fce4d29cbc57dd16e64d5e0b128d49c3da31ab.tar.bz2 busybox-w32-24fce4d29cbc57dd16e64d5e0b128d49c3da31ab.zip | |
More "extern" removals from Robert P. Day
git-svn-id: svn://busybox.net/trunk/busybox@14541 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/xfuncs.c | 6 |
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 |
| 60 | extern char * bb_xstrdup (const char *s) { | 60 | char * 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 |
| 76 | extern char * bb_xstrndup (const char *s, int n) { | 77 | char * bb_xstrndup (const char *s, int n) |
| 78 | { | ||
| 77 | char *t; | 79 | char *t; |
| 78 | 80 | ||
| 79 | if (s == NULL) | 81 | if (s == NULL) |
