summaryrefslogtreecommitdiff
path: root/libbb/get_last_path_component.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-04-03 16:39:31 +0000
committerBernhard Reutner-Fischer2006-04-03 16:39:31 +0000
commit421d9e59416850968707dfec7a665cb0211b8d1c (patch)
treecee92b2a5cd0ea7298aab569ed944fdeb59dbdf2 /libbb/get_last_path_component.c
parent101a470068a62a70489797a3fdfa5084af80106e (diff)
downloadbusybox-421d9e59416850968707dfec7a665cb0211b8d1c.zip
busybox-421d9e59416850968707dfec7a665cb0211b8d1c.tar.gz
- move buffer allocation schemes to libbb.h
- include the correct headers: applets need busybox.h while lib* need libbb.h
Diffstat (limited to 'libbb/get_last_path_component.c')
-rw-r--r--libbb/get_last_path_component.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libbb/get_last_path_component.c b/libbb/get_last_path_component.c
index c950fae..3119097 100644
--- a/libbb/get_last_path_component.c
+++ b/libbb/get_last_path_component.c
@@ -7,6 +7,8 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "libbb.h"
+
char *bb_get_last_path_component(char *path)
{
char *first = path;