From: Jim Meyering Date: Sat, 12 May 2001 16:05:51 +0000 (+0000) Subject: Include "dirname.h". X-Git-Tag: v2.22-rc1~347^2~10^2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=787ac7c3410b404f3e2f4deb7d008759738de679;p=thirdparty%2Futil-linux.git Include "dirname.h". (base_name): Remove decl; now in dirname.h. --- diff --git a/login-utils/su.c b/login-utils/su.c index ee31eafd19..27a56d5058 100644 --- a/login-utils/su.c +++ b/login-utils/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 **)