2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
* normal/auth.c (punishment_delay): Moved from here ... (grub_auth_strcmp): ... to here (inside function).
This commit is contained in:
parent
325f503783
commit
4089b167cd
2 changed files with 6 additions and 1 deletions
|
@ -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>
|
2009-11-09 Robert Millan <rmh.grub@aybabtu.com>
|
||||||
|
|
||||||
* include/grub/list.h (struct grub_named_list): Remove `const'
|
* include/grub/list.h (struct grub_named_list): Remove `const'
|
||||||
|
|
|
@ -34,7 +34,6 @@ struct grub_auth_user
|
||||||
};
|
};
|
||||||
|
|
||||||
struct grub_auth_user *users = NULL;
|
struct grub_auth_user *users = NULL;
|
||||||
static unsigned long punishment_delay = 1;
|
|
||||||
|
|
||||||
int
|
int
|
||||||
grub_auth_strcmp (const char *s1, const char *s2)
|
grub_auth_strcmp (const char *s1, const char *s2)
|
||||||
|
@ -212,6 +211,7 @@ grub_auth_check_authentication (const char *userlist)
|
||||||
char login[1024];
|
char login[1024];
|
||||||
struct grub_auth_user *cur = NULL;
|
struct grub_auth_user *cur = NULL;
|
||||||
grub_err_t err;
|
grub_err_t err;
|
||||||
|
static unsigned long punishment_delay = 1;
|
||||||
|
|
||||||
auto int hook (grub_list_t item);
|
auto int hook (grub_list_t item);
|
||||||
int hook (grub_list_t item)
|
int hook (grub_list_t item)
|
||||||
|
|
Loading…
Reference in a new issue