X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fstrstr.h;h=e424b8340f824bad18f6059d8dbf7507c0a7269d;hb=579b8ed5d608f9746b42e48bfc954823d27af8f6;hp=0162d097102f9f2c2194010dd591328b54fb8be3;hpb=8c60a675a2bf363ca1d6a1cb1889440f89bc572c;p=gnulib.git diff --git a/lib/strstr.h b/lib/strstr.h index 0162d0971..e424b8340 100644 --- a/lib/strstr.h +++ b/lib/strstr.h @@ -1,5 +1,5 @@ /* Searching in a string. - Copyright (C) 2001 Free Software Foundation, Inc. + Copyright (C) 2001, 2002 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 @@ -15,14 +15,6 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -#ifndef PARAMS -# if __STDC__ || defined __GNUC__ || defined __SUNPRO_C || defined __cplusplus || __PROTOTYPES -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () -# endif -#endif - #if HAVE_STRSTR /* Get strstr() declaration. */ @@ -31,6 +23,6 @@ #else /* Find the first occurrence of NEEDLE in HAYSTACK. */ -extern char *strstr PARAMS ((const char *haystack, const char *needle)); +extern char *strstr (const char *haystack, const char *needle); #endif