From: Bruno Haible Date: Mon, 31 Jul 2006 16:39:04 +0000 (+0000) Subject: Move strstr.c to c-strstr.c. X-Git-Tag: 0.16.x-branchpoint~300 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd1b04b5dffec55351cbb68005e42b2fb9f8f70e;p=thirdparty%2Fgettext.git Move strstr.c to c-strstr.c. --- diff --git a/gettext-tools/lib/strstr.c b/gettext-tools/lib/c-strstr.c similarity index 94% rename from gettext-tools/lib/strstr.c rename to gettext-tools/lib/c-strstr.c index 6326d85ae..11ef8ec15 100644 --- a/gettext-tools/lib/strstr.c +++ b/gettext-tools/lib/c-strstr.c @@ -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;