]> andersk Git - moira.git/blobdiff - clients/moira/utils.c
eliminate use of the `register' keyword: let the compiler decide
[moira.git] / clients / moira / utils.c
index faa90d668b162499e45c2935c7877165009307ba..080593702ab5900a640a194a3964f07bdc0d9057 100644 (file)
@@ -436,7 +436,7 @@ int NullFunc(void)
 
 void SlipInNewName(char **info, char *name)
 {
-  register int i;
+  int i;
 
   /* This also pushes the NULL down. */
   for (i = CountArgs(info); i > 0; i--)
@@ -588,7 +588,7 @@ int GetFSTypes(char **current, int options)
 
 char *Strsave(char *str)
 {
-  register char *newstr = malloc(strlen(str) + 1);
+  char *newstr = malloc(strlen(str) + 1);
 
   if (!newstr)
     return NULL;
@@ -621,7 +621,7 @@ char *atot(char *itime)
 int Print(int argc, char **argv, char *callback)
 {
   char buf[BUFSIZ];
-  register int i;
+  int i;
 
   found_some = TRUE;
   strcpy(buf, argv[0]);        /* no newline 'cause Put_message adds one */
@@ -659,7 +659,7 @@ int PrintByType(int argc, char **argv, char *callback)
 
 int PrintHelp(char **message)
 {
-  register int i;
+  int i;
 
   for (i = 0; i < CountArgs(message); i++)
     Put_message(message[i]);
This page took 0.037835 seconds and 4 git commands to generate.