diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-26 02:06:08 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-06-26 02:06:08 +0000 |
commit | 098f9284606716ba803204c23341bab293e0ff92 (patch) | |
tree | ae5bb34caa3b88968102e93193a01e4d90109b92 /libbb | |
parent | a63f350d93c941c89e2c929893dfa25e423e3b94 (diff) | |
download | busybox-w32-098f9284606716ba803204c23341bab293e0ff92.tar.gz busybox-w32-098f9284606716ba803204c23341bab293e0ff92.tar.bz2 busybox-w32-098f9284606716ba803204c23341bab293e0ff92.zip |
Vladimir's last_patch_15
git-svn-id: svn://busybox.net/trunk/busybox@2905 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/libbb.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libbb/libbb.h b/libbb/libbb.h index 102596c1f..3b0ced7d1 100644 --- a/libbb/libbb.h +++ b/libbb/libbb.h | |||
@@ -243,7 +243,11 @@ extern FILE *gz_open(FILE *compressed_file, int *pid); | |||
243 | extern struct hostent *xgethostbyname(const char *name); | 243 | extern struct hostent *xgethostbyname(const char *name); |
244 | 244 | ||
245 | char *dirname (const char *path); | 245 | char *dirname (const char *path); |
246 | char *strdup_substr (const char *s, int start, int end); | 246 | |
247 | static inline char *strdup_substr (const char *s, int start, int end) | ||
248 | { | ||
249 | return xstrndup (s+start, end-start); | ||
250 | } | ||
247 | int make_directory (char *path, mode_t mode, int flags); | 251 | int make_directory (char *path, mode_t mode, int flags); |
248 | 252 | ||
249 | #define CT_AUTO 0 | 253 | #define CT_AUTO 0 |