diff options
| author | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-20 12:15:10 +0000 |
|---|---|---|
| committer | vodz <vodz@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-02-20 12:15:10 +0000 |
| commit | 075f47fb382a3793694ad223bc57ccbdd54b91e1 (patch) | |
| tree | ca8593fa25b77f98472bdcdee3781623917cd531 /include | |
| parent | 91d1740bee4ea0f6658a1e4215af59638190a820 (diff) | |
| download | busybox-w32-075f47fb382a3793694ad223bc57ccbdd54b91e1.tar.gz busybox-w32-075f47fb382a3793694ad223bc57ccbdd54b91e1.tar.bz2 busybox-w32-075f47fb382a3793694ad223bc57ccbdd54b91e1.zip | |
remove #undef strlen, use #define strlen always but without xfunc/BB_STRLEN_IMPLEMENTATION
git-svn-id: svn://busybox.net/trunk/busybox@14145 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'include')
| -rw-r--r-- | include/libbb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libbb.h b/include/libbb.h index 8ec1a24c0..9f0c85b03 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
| @@ -387,7 +387,9 @@ void reset_ino_dev_hashtable(void); | |||
| 387 | 387 | ||
| 388 | /* Stupid gcc always includes its own builtin strlen()... */ | 388 | /* Stupid gcc always includes its own builtin strlen()... */ |
| 389 | extern size_t bb_strlen(const char *string); | 389 | extern size_t bb_strlen(const char *string); |
| 390 | #ifndef BB_STRLEN_IMPLEMENTATION | ||
| 390 | #define strlen(x) bb_strlen(x) | 391 | #define strlen(x) bb_strlen(x) |
| 392 | #endif | ||
| 391 | 393 | ||
| 392 | char *bb_xasprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); | 394 | char *bb_xasprintf(const char *format, ...) __attribute__ ((format (printf, 1, 2))); |
| 393 | 395 | ||
