Author: emaste
Date: Fri Jan  3 15:29:32 2020
New Revision: 356318
URL: https://svnweb.freebsd.org/changeset/base/356318

Log:
  inetd: fix WITHOUT_TCP_WRAPPERS build after r356248
  
  After increasing WARNS, building WITHOUT_TCP_WRAPPERS failed because of
  some unused variables.
  
  Reported by:  Cirrus-CI (against my WIP branch)
  MFC with:     r356248
  Sponsored by: The FreeBSD Foundation

Modified:
  head/usr.sbin/inetd/inetd.c

Modified: head/usr.sbin/inetd/inetd.c
==============================================================================
--- head/usr.sbin/inetd/inetd.c Fri Jan  3 12:54:14 2020        (r356317)
+++ head/usr.sbin/inetd/inetd.c Fri Jan  3 15:29:32 2020        (r356318)
@@ -250,9 +250,11 @@ static char        *sskip(char **);
 static char    *newstr(const char *);
 static void    print_service(const char *, const struct servtab *);
 
+#ifdef LIBWRAP
 /* tcpd.h */
 int    allow_severity;
 int    deny_severity;
+#endif
 
 static int     wrap_ex = 0;
 static int     wrap_bi = 0;
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to