summaryrefslogtreecommitdiff
path: root/libbb/find_pid_by_name.c
diff options
context:
space:
mode:
Diffstat (limited to 'libbb/find_pid_by_name.c')
-rw-r--r--libbb/find_pid_by_name.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libbb/find_pid_by_name.c b/libbb/find_pid_by_name.c
index cfc5b34..1fafec8 100644
--- a/libbb/find_pid_by_name.c
+++ b/libbb/find_pid_by_name.c
@@ -38,14 +38,6 @@ execXXX("/proc/self/exe", applet_name, params....)
and therefore comm field contains "exe".
*/
-static const char *bb_basename(const char *name)
-{
- const char *cp = strrchr(name, '/');
- if (cp)
- return cp + 1;
- return name;
-}
-
/* find_pid_by_name()
*
* Modified by Vladimir Oleynik for use with libbb/procps.c