diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-03 16:39:31 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-04-03 16:39:31 +0000 |
commit | 8a3979378b19f0a972bd97df224e8dce52637848 (patch) | |
tree | cee92b2a5cd0ea7298aab569ed944fdeb59dbdf2 /libbb/get_last_path_component.c | |
parent | 789c5ae4dfa476e433aab3877393a73bfdd31e64 (diff) | |
download | busybox-w32-8a3979378b19f0a972bd97df224e8dce52637848.tar.gz busybox-w32-8a3979378b19f0a972bd97df224e8dce52637848.tar.bz2 busybox-w32-8a3979378b19f0a972bd97df224e8dce52637848.zip |
- move buffer allocation schemes to libbb.h
- include the correct headers: applets need busybox.h while lib* need libbb.h
git-svn-id: svn://busybox.net/trunk/busybox@14739 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb/get_last_path_component.c')
-rw-r--r-- | libbb/get_last_path_component.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/get_last_path_component.c b/libbb/get_last_path_component.c index c950faeb3..311909726 100644 --- a/libbb/get_last_path_component.c +++ b/libbb/get_last_path_component.c | |||
@@ -7,6 +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 "libbb.h" | ||
11 | |||
10 | char *bb_get_last_path_component(char *path) | 12 | char *bb_get_last_path_component(char *path) |
11 | { | 13 | { |
12 | char *first = path; | 14 | char *first = path; |