diff src/sysdep.c @ 3700:b3d7b8b98acf

[xemacs-hg @ 2006-11-25 12:40:15 by adrian] Re: strlwr <54d9efdc0611230035sf15809o7e8b4f2b4ad62404@mail.gmail.com>
author adrian
date Sat, 25 Nov 2006 12:40:16 +0000
parents 3e7493e76dc7
children aa5ed11f473b
line wrap: on
line diff
--- a/src/sysdep.c	Fri Nov 24 22:51:11 2006 +0000
+++ b/src/sysdep.c	Sat Nov 25 12:40:16 2006 +0000
@@ -3491,8 +3491,8 @@
 size_t
 wcslen (const wchar_t *s)
 {
+  const wchar_t *p = s;
   if (s == NULL) return NULL;
-  const wchar_t *p = s;
 
   while (*p++)
     ;
@@ -3509,8 +3509,8 @@
 char *
 strlwr (char *s)
 {
+  REGISTER char *c;
   if (s == NULL) return NULL;
-  REGISTER char *c;
 
   for (c = s; *c; c++)
     {