aboutsummaryrefslogtreecommitdiff
path: root/libbb/get_last_path_component.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/get_last_path_component.c')
-rw-r--r--libbb/get_last_path_component.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/get_last_path_component.c b/libbb/get_last_path_component.c
index 6af726c83..497d6ae4e 100644
--- a/libbb/get_last_path_component.c
+++ b/libbb/get_last_path_component.c
@@ -1,8 +1,8 @@
1/* vi: set sw=4 ts=4: */ 1/* vi: set sw=4 ts=4: */
2/* 2/*
3 * get_last_path_component implementation for busybox 3 * bb_get_last_path_component implementation for busybox
4 * 4 *
5 * Copyright (C) 2001 Manuel Novoa III <mjn3@opensource.lineo.com> 5 * Copyright (C) 2001 Manuel Novoa III <mjn3@codepoet.org>
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify 7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by 8 * it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
24/* WARNING!!! Doing so will break basename applet at least! */ 24/* WARNING!!! Doing so will break basename applet at least! */
25#define EMULATE_BASENAME 0 25#define EMULATE_BASENAME 0
26 26
27char *get_last_path_component(char *path) 27char *bb_get_last_path_component(char *path)
28{ 28{
29#if EMULATE_BASENAME 29#if EMULATE_BASENAME
30 static const char null_or_empty[] = "."; 30 static const char null_or_empty[] = ".";