Queisce warning about undeclared function usage.
yp_get_default_domain is defined in workaround.c but is not declared in any header file. Tie the declaration to the same #define conditional used when the function is called, NETGROUP
This commit is contained in:
parent
5375e4f833
commit
707dd2b1d7
@ -103,6 +103,11 @@ static int masked_match6();
|
||||
|
||||
#define BUFLEN 2048
|
||||
|
||||
/* definition to be used from workarounds.c */
|
||||
#ifdef NETGROUP
|
||||
int yp_get_default_domain(char **);
|
||||
#endif
|
||||
|
||||
/* hosts_access - host access control facility */
|
||||
|
||||
int hosts_access(request)
|
||||
|
Loading…
Reference in New Issue
Block a user