]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - wcsmbs/wcsstr.c
Avoid use of "register" as optimization hint.
[thirdparty/glibc.git] / wcsmbs / wcsstr.c
index 932c74fe5e144ce918169eba8740749588c0346e..fe984d141a741bbd83b32cd2dc0b301276c936b7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1995-2013 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -33,7 +33,7 @@ wcsstr (haystack, needle)
      const wchar_t *haystack;
      const wchar_t *needle;
 {
-  register wchar_t b, c;
+  wchar_t b, c;
 
   if ((b = *needle) != L'\0')
     {
@@ -50,8 +50,8 @@ wcsstr (haystack, needle)
 
       for (;;)
        {
-         register wchar_t a;
-         register const wchar_t *rhaystack, *rneedle;
+         wchar_t a;
+         const wchar_t *rhaystack, *rneedle;
 
          do
            {