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:
Sean Bruno 2013-10-30 22:45:35 +00:00
parent 5375e4f833
commit 707dd2b1d7

View File

@ -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)