diff options
author | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-31 22:42:12 +0000 |
---|---|---|
committer | vda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2007-05-31 22:42:12 +0000 |
commit | 4ab25db9aad167a3a3be5a3764d63d44d14bfdac (patch) | |
tree | 5966d651dcb5588e24106791f9cd3647f358112b /libbb/safe_strncpy.c | |
parent | 3ea433409694393b67dd9dee3b184268ab75ac56 (diff) | |
download | busybox-w32-4ab25db9aad167a3a3be5a3764d63d44d14bfdac.tar.gz busybox-w32-4ab25db9aad167a3a3be5a3764d63d44d14bfdac.tar.bz2 busybox-w32-4ab25db9aad167a3a3be5a3764d63d44d14bfdac.zip |
delete tons of extra #includes
git-svn-id: svn://busybox.net/trunk/busybox@18717 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/safe_strncpy.c')
-rw-r--r-- | libbb/safe_strncpy.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libbb/safe_strncpy.c b/libbb/safe_strncpy.c index 42bc16ea0..ebc7e28f3 100644 --- a/libbb/safe_strncpy.c +++ b/libbb/safe_strncpy.c | |||
@@ -7,11 +7,8 @@ | |||
7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. | 7 | * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. |
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <string.h> | ||
11 | #include "libbb.h" | 10 | #include "libbb.h" |
12 | 11 | ||
13 | |||
14 | |||
15 | /* Like strncpy but make sure the resulting string is always 0 terminated. */ | 12 | /* Like strncpy but make sure the resulting string is always 0 terminated. */ |
16 | char * safe_strncpy(char *dst, const char *src, size_t size) | 13 | char * safe_strncpy(char *dst, const char *src, size_t size) |
17 | { | 14 | { |