diff src/nt.c @ 203:850242ba4a81 r20-3b28

Import from CVS: tag r20-3b28
author cvs
date Mon, 13 Aug 2007 10:02:21 +0200
parents 4be1180a9e89
children 41ff10fd062f
line wrap: on
line diff
--- a/src/nt.c	Mon Aug 13 10:01:24 2007 +0200
+++ b/src/nt.c	Mon Aug 13 10:02:21 2007 +0200
@@ -203,7 +203,7 @@
     _strlwr (dir_static.d_name);
   else if (!NILP (Vwin32_downcase_file_names))
     {
-      register char *p;
+      REGISTER char *p;
       for (p = dir_static.d_name; *p; p++)
 	if (*p >= 'a' && *p <= 'z')
 	  break;
@@ -397,7 +397,7 @@
 
 static void
 normalize_filename (fp, path_sep)
-     register char *fp;
+     REGISTER char *fp;
      char path_sep;
 {
   char sep;
@@ -455,7 +455,7 @@
 /* Destructively turn backslashes into slashes.  */
 void
 dostounix_filename (p)
-     register char *p;
+     REGISTER char *p;
 {
   normalize_filename (p, '/');
 }
@@ -463,7 +463,7 @@
 /* Destructively turn slashes into backslashes.  */
 void
 unixtodos_filename (p)
-     register char *p;
+     REGISTER char *p;
 {
   normalize_filename (p, '\\');
 }
@@ -473,8 +473,8 @@
    although this code isn't going to ever change.)  */
 int
 crlf_to_lf (n, buf)
-     register int n;
-     register unsigned char *buf;
+     REGISTER int n;
+     REGISTER unsigned char *buf;
 {
   unsigned char *np = buf;
   unsigned char *startp = buf;
@@ -837,9 +837,9 @@
 
   if (is_fat_volume (name, &path)) /* truncate to 8.3 */
     {
-      register int left = 8;	/* maximum number of chars in part */
-      register int extn = 0;	/* extension added? */
-      register int dots = 2;	/* maximum number of dots allowed */
+      REGISTER int left = 8;	/* maximum number of chars in part */
+      REGISTER int extn = 0;	/* extension added? */
+      REGISTER int dots = 2;	/* maximum number of dots allowed */
 
       while (name < path)
 	*str++ = *name++;	/* skip past UNC header */