summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-05-12 16:05:51 +0000
committerJim Meyering <jim@meyering.net>2001-05-12 16:05:51 +0000
commit2227cb6a07cb8dcfcc6de1e9dc0d0475143a49ab (patch)
treec9c960b92324da606b03491c3794605b9587a7e0 /src
parent04a872f0d3db6a95b28c9640e2d9c5f3e3d2d7f6 (diff)
downloadcoreutils-2227cb6a07cb8dcfcc6de1e9dc0d0475143a49ab.tar.xz
Include "dirname.h".
(base_name): Remove decl; now in dirname.h.
Diffstat (limited to 'src')
-rw-r--r--src/su.c5
1 files changed, 2 insertions, 3 deletions
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 **)