]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Don't declare base_name.
authorJim Meyering <jim@meyering.net>
Sat, 16 Jan 1999 16:13:31 +0000 (16:13 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 16 Jan 1999 16:13:31 +0000 (16:13 +0000)
(usage): Don't make it static so that it can be
called from libfu.a by xargmatch.

src/dircolors.c

index a5eeda618af91c3c9713c6440f4147deaffea307..9c7fc2ebb8faa1908839baffa1d417172adadf24 100644 (file)
@@ -1,20 +1,20 @@
 /* dircolors - output commands to set the LS_COLOR environment variable
-   Copyright (C) 1994, 1995, 1997, 1998 H. Peter Anvin
+   Copyright (C) 1994, 1995, 1997, 1998, 1999 H. Peter Anvin
    Copyright (C) 96, 97, 1998 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
-the Free Software Foundation; either version 2, or (at your option)
-any later version.
+   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
+   the Free Software Foundation; either version 2, or (at your option)
+   any later version.
 
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-GNU General Public License for more details.
+   This program is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+   GNU General Public License for more details.
 
-You should have received a copy of the GNU General Public License
-along with this program; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
+   You should have received a copy of the GNU General Public License
+   along with this program; if not, write to the Free Software Foundation,
+   Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 
 #if HAVE_CONFIG_H
 # include <config.h>
@@ -36,7 +36,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  */
 #define obstack_chunk_alloc malloc
 #define obstack_chunk_free free
 
-char *base_name ();
 char *strndup();
 
 enum Shell_syntax
@@ -91,7 +90,7 @@ static struct option const long_options[] =
 
 char *program_name;
 
-static void
+void
 usage (int status)
 {
   if (status != 0)