2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

set_loginclass() should be static like the proto says

This commit is contained in:
Todd C. Miller
2000-03-24 00:16:41 +00:00
parent 7ffc5a9fae
commit fed49d49eb

7
sudo.c
View File

@@ -1080,7 +1080,7 @@ initial_setup()
}
#ifdef HAVE_LOGINCAP
int
static int
set_loginclass(pw)
struct passwd *pw;
{
@@ -1117,12 +1117,13 @@ set_loginclass(pw)
return(1);
}
#else
int set_loginclass(pw)
static int
set_loginclass(pw)
struct passwd *pw;
{
return(0);
}
#endif
#endif /* HAVE_LOGINCAP */
/*
* Look up the fully qualified domain name and set user_host and user_shost.