]> granicus.if.org Git - sudo/commitdiff
kill register
authorTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 22 Mar 2000 15:53:09 +0000 (15:53 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Wed, 22 Mar 2000 15:53:09 +0000 (15:53 +0000)
lsearch.c
parse.c
testsudoers.c

index f08e1bd48f3b9537cf7b85dddbd6e60dddf4269f..3ed5cf09d29ad0399ce32d4a69720f1afa294f11 100644 (file)
--- a/lsearch.c
+++ b/lsearch.c
@@ -77,8 +77,8 @@ linear_base(key, base, nelp, width, compar, add_flag)
        cmp_fn_t compar;
        int add_flag;
 {
-       /* strict ANSI does not allow pointer arithmetic on void *'s */
-       register const char *element, *end;
+       /* Strict ANSI does not allow pointer arithmetic on void *'s */
+       const char *element, *end;
 
        end = (const char *) base + *nelp * width;
        for (element = (const char *) base; element < end; element += width)
diff --git a/parse.c b/parse.c
index abca49c8d5becbc06d607e5205d056f5fc84ef52..77cacf662871d3ac55f231eb30a304daac1a738d 100644 (file)
--- a/parse.c
+++ b/parse.c
@@ -473,7 +473,7 @@ static int
 has_meta(s)
     char *s;
 {
-    register char *t;
+    char *t;
     
     for (t = s; *t; t++) {
        if (*t == '\\' || *t == '?' || *t == '*' || *t == '[' || *t == ']')
index c77893c8498305f6120aad3aa84853be5f38b95c..9f7b5337401cffec16b2f89cf810080bca5767ff 100644 (file)
@@ -106,7 +106,7 @@ int
 has_meta(s)
     char *s;
 {
-    register char *t;
+    char *t;
     
     for (t = s; *t; t++) {
        if (*t == '\\' || *t == '?' || *t == '*' || *t == '[' || *t == ']')