diff options
| author | Eric Andersen <andersen@codepoet.org> | 2002-04-13 13:02:03 +0000 |
|---|---|---|
| committer | Eric Andersen <andersen@codepoet.org> | 2002-04-13 13:02:03 +0000 |
| commit | db7d5fca5f6a98a68a16bbea7cd71593791c43dc (patch) | |
| tree | 6715cd264db913801c4862512c012d7a0e5a903a /libbb | |
| parent | 4c9b68f0e013b0b7554a3278e078177f955d39f4 (diff) | |
| download | busybox-w32-db7d5fca5f6a98a68a16bbea7cd71593791c43dc.tar.gz busybox-w32-db7d5fca5f6a98a68a16bbea7cd71593791c43dc.tar.bz2 busybox-w32-db7d5fca5f6a98a68a16bbea7cd71593791c43dc.zip | |
Stupid gcc always includes its own builtin strlen()...
Diffstat (limited to 'libbb')
| -rw-r--r-- | libbb/xfuncs.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libbb/xfuncs.c b/libbb/xfuncs.c index 57c698079..acd4d6985 100644 --- a/libbb/xfuncs.c +++ b/libbb/xfuncs.c | |||
| @@ -85,6 +85,12 @@ FILE *xfopen(const char *path, const char *mode) | |||
| 85 | return fp; | 85 | return fp; |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | /* Stupid gcc always includes its own builtin strlen()... */ | ||
| 89 | size_t xstrlen(const char *string) | ||
| 90 | { | ||
| 91 | return(strlen(string)); | ||
| 92 | } | ||
| 93 | |||
| 88 | /* END CODE */ | 94 | /* END CODE */ |
| 89 | /* | 95 | /* |
| 90 | Local Variables: | 96 | Local Variables: |
