]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Move strstr.c to c-strstr.c.
authorBruno Haible <bruno@clisp.org>
Mon, 31 Jul 2006 16:39:04 +0000 (16:39 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:13:44 +0000 (12:13 +0200)
gettext-tools/lib/c-strstr.c [moved from gettext-tools/lib/strstr.c with 94% similarity]

similarity index 94%
rename from gettext-tools/lib/strstr.c
rename to gettext-tools/lib/c-strstr.c
index 6326d85aed25ec61d45979f0bf8e950fdc58f533..11ef8ec159ac70291c5d28ce251fe7f28c31d20f 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1994, 1999, 2002-2003, 2005 Free Software Foundation, Inc.
+/* Copyright (C) 1994, 1999, 2002-2003, 2005-2006 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
@@ -32,10 +32,8 @@ Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  */
 
 typedef unsigned chartype;
 
-#undef strstr
-
 char *
-strstr (const char *phaystack, const char *pneedle)
+c_strstr (const char *phaystack, const char *pneedle)
 {
   register const unsigned char *haystack, *needle;
   register chartype b, c;