summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-01-16 16:13:31 +0000
committerJim Meyering <jim@meyering.net>1999-01-16 16:13:31 +0000
commit1592f752f666765d7ad4f72d11f2026381442b86 (patch)
tree294476f9b95a6633a4f8b5435817dc82cd2eb6ea /src
parent84b4618b26142d42c732183d34223f5ea2705640 (diff)
downloadcoreutils-1592f752f666765d7ad4f72d11f2026381442b86.tar.xz
Don't declare base_name.
(usage): Don't make it static so that it can be called from libfu.a by xargmatch.
Diffstat (limited to 'src')
-rw-r--r--src/dircolors.c27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/dircolors.c b/src/dircolors.c
index a5eeda618..9c7fc2ebb 100644
--- a/src/dircolors.c
+++ b/src/dircolors.c
@@ -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)