From: Todd C. Miller Date: Fri, 24 Mar 2000 00:16:41 +0000 (+0000) Subject: set_loginclass() should be static like the proto says X-Git-Tag: SUDO_1_6_3~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fed49d49eb820bbb9c965c1560e952de107c0df9;p=sudo set_loginclass() should be static like the proto says --- diff --git a/sudo.c b/sudo.c index 2c340ffc4..f8061dafd 100644 --- a/sudo.c +++ b/sudo.c @@ -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.