From 2227cb6a07cb8dcfcc6de1e9dc0d0475143a49ab Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 12 May 2001 16:05:51 +0000 Subject: Include "dirname.h". (base_name): Remove decl; now in dirname.h. --- src/su.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/su.c b/src/su.c index ee31eafd1..27a56d505 100644 --- a/src/su.c +++ b/src/su.c @@ -1,5 +1,5 @@ /* su for GNU. Run a shell with substitute user and group IDs. - Copyright (C) 1992-2000 Free Software Foundation, Inc. + Copyright (C) 1992-2000, 2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -83,6 +83,7 @@ #include "system.h" #include "closeout.h" +#include "dirname.h" #undef getusershell @@ -147,8 +148,6 @@ char *getusershell (); void endusershell (); void setusershell (); -char *base_name (); - extern char **environ; static void run_shell (const char *, const char *, char **) -- cgit v1.2.3-54-g00ecf