From: Jim Meyering Date: Fri, 19 Nov 1999 17:02:01 +0000 (+0000) Subject: (strstr): Include config.h. X-Git-Tag: cvs-readonly~7152 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=94c3325e43c09defbc625a71be67e1b26f83d395;p=gnulib.git (strstr): Include config.h. Add a `;' between shloop label and `}'. --- diff --git a/lib/strstr.c b/lib/strstr.c index b16799a2e..7709d8464 100644 --- a/lib/strstr.c +++ b/lib/strstr.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1994 Free Software Foundation, Inc. +/* Copyright (C) 1994, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. This program is free software; you can redistribute it and/or modify @@ -24,6 +24,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ * * Stephen R. van den Berg, berg@pool.informatik.rwth-aachen.de */ +#if HAVE_CONFIG_H +# include +#endif + #include #include @@ -71,7 +75,7 @@ strstr (const char *phaystack, const char *pneedle) a = *++haystack; if (a == '\0') goto ret0; -shloop: } +shloop:; } while (a != b); jin: a = *++haystack;