From: Jim Meyering Date: Sat, 16 Jan 1999 16:13:31 +0000 (+0000) Subject: Don't declare base_name. X-Git-Tag: TEXTUTILS-1_22h~179 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1592f752f666765d7ad4f72d11f2026381442b86;p=thirdparty%2Fcoreutils.git Don't declare base_name. (usage): Don't make it static so that it can be called from libfu.a by xargmatch. --- diff --git a/src/dircolors.c b/src/dircolors.c index a5eeda618a..9c7fc2ebb8 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 @@ -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)