From 4089b167cd68f94beb8da3f18bf222cfb5e4e633 Mon Sep 17 00:00:00 2001 From: Robert Millan Date: Mon, 9 Nov 2009 14:30:47 +0000 Subject: [PATCH] 2009-11-09 Robert Millan * normal/auth.c (punishment_delay): Moved from here ... (grub_auth_strcmp): ... to here (inside function). --- ChangeLog | 5 +++++ normal/auth.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 265bbaa51..a0d180f60 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-11-09 Robert Millan + + * normal/auth.c (punishment_delay): Moved from here ... + (grub_auth_strcmp): ... to here (inside function). + 2009-11-09 Robert Millan * include/grub/list.h (struct grub_named_list): Remove `const' diff --git a/normal/auth.c b/normal/auth.c index 41547e33c..c71262584 100644 --- a/normal/auth.c +++ b/normal/auth.c @@ -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) -- 2.47.3