X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fargmatch.c;h=aa5593329765506faf3a4f67c52f1d5fff2c8f54;hb=0941f53a92efc360e019b76923d0ecd380849939;hp=5777b27acbd0181c1883e9ad1155ed5a672b2a85;hpb=d75cc45b7791039ade97b0d69f19cc55ddbfedbb;p=gnulib.git diff --git a/lib/argmatch.c b/lib/argmatch.c index 5777b27ac..aa5593329 100644 --- a/lib/argmatch.c +++ b/lib/argmatch.c @@ -1,5 +1,5 @@ /* argmatch.c -- find a match for a string in an array - Copyright (C) 1990 Free Software Foundation, Inc. + Copyright (C) 1990, 1997 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 @@ -12,24 +12,27 @@ 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., 675 Mass Ave, Cambridge, MA 02139, USA. */ + along with this program; see the file COPYING. + If not, write to the Free Software Foundation, + 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/* Written by David MacKenzie */ +/* Written by David MacKenzie */ -#ifdef HAVE_CONFIG_H -#include +#if HAVE_CONFIG_H +# include #endif +#include + #include #include -#ifdef STDC_HEADERS -#include +#if HAVE_STRING_H +# include +#else +# include #endif -extern char *program_name; - /* If ARG is an unambiguous match for an element of the null-terminated array OPTLIST, return the index in OPTLIST of the matched element, else -1 if it does not match any element