]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
Include "dirname.h".
authorJim Meyering <jim@meyering.net>
Sat, 12 May 2001 16:05:51 +0000 (16:05 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 12 May 2001 16:05:51 +0000 (16:05 +0000)
(base_name): Remove decl; now in dirname.h.

login-utils/su.c

index ee31eafd19d411f97bfbda8ca3197a9aa477f3ae..27a56d50588f5593dc53e37839490cbb8dd75910 100644 (file)
@@ -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 **)