]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
authorRobert Millan <rmh@aybabtu.com>
Mon, 9 Nov 2009 14:30:47 +0000 (14:30 +0000)
committerRobert Millan <rmh@aybabtu.com>
Mon, 9 Nov 2009 14:30:47 +0000 (14:30 +0000)
        * normal/auth.c (punishment_delay): Moved from here ...
        (grub_auth_strcmp): ... to here (inside function).

ChangeLog
normal/auth.c

index 265bbaa5147ff127b1321723c6531b8892f2c92d..a0d180f60f6bd691a76289d79e3835843a166f3b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>
+
+       * normal/auth.c (punishment_delay): Moved from here ...
+       (grub_auth_strcmp): ... to here (inside function).
+
 2009-11-09  Robert Millan  <rmh.grub@aybabtu.com>
 
        * include/grub/list.h (struct grub_named_list): Remove `const'
index 41547e33ccdb9b9a294bf4a6c3c4c34b8004c7cf..c712625843324e342a6d289081c97fe1f14ba8f6 100644 (file)
@@ -34,7 +34,6 @@ struct grub_auth_user
 };
 
 struct grub_auth_user *users = NULL;
-static unsigned long punishment_delay = 1;
 
 int
 grub_auth_strcmp (const char *s1, const char *s2)
@@ -212,6 +211,7 @@ grub_auth_check_authentication (const char *userlist)
   char login[1024];
   struct grub_auth_user *cur = NULL;
   grub_err_t err;
+  static unsigned long punishment_delay = 1;
 
   auto int hook (grub_list_t item);
   int hook (grub_list_t item)