summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-11-19 17:02:01 +0000
committerJim Meyering <jim@meyering.net>1999-11-19 17:02:01 +0000
commit94c3325e43c09defbc625a71be67e1b26f83d395 (patch)
tree338ddbf89bfcb6b3c2085141cacfe68f9911cf26
parent4fc7fe8778d7d5b0844ac4932778c5d430baecb4 (diff)
downloadgnulib-94c3325e43c09defbc625a71be67e1b26f83d395.tar.gz
(strstr): Include config.h.
Add a `;' between shloop label and `}'.
-rw-r--r--lib/strstr.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/strstr.c b/lib/strstr.c
index b16799a2e6..7709d8464a 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 <config.h>
+#endif
+
#include <string.h>
#include <sys/types.h>
@@ -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;