The branch main has been updated by kevans: URL: https://cgit.FreeBSD.org/src/commit/?id=4dbd8c72d3030b8f111fdac86ba45ff596595497
commit 4dbd8c72d3030b8f111fdac86ba45ff596595497 Author: Kyle Evans <kev...@freebsd.org> AuthorDate: 2021-09-30 04:21:24 +0000 Commit: Kyle Evans <kev...@freebsd.org> CommitDate: 2021-10-01 04:55:27 +0000 tcp_wrappers: get rid of duplicate fgets declarations This is declared in stdio.h, no need for this one. --- contrib/tcp_wrappers/hosts_access.c | 1 - contrib/tcp_wrappers/misc.c | 2 -- 2 files changed, 3 deletions(-) diff --git a/contrib/tcp_wrappers/hosts_access.c b/contrib/tcp_wrappers/hosts_access.c index f5ab91bebc98..58998055b516 100644 --- a/contrib/tcp_wrappers/hosts_access.c +++ b/contrib/tcp_wrappers/hosts_access.c @@ -46,7 +46,6 @@ static char sccsid[] = "@(#) hosts_access.c 1.21 97/02/12 02:13:22"; #endif #include <stdlib.h> -extern char *fgets(); extern int errno; #ifndef INADDR_NONE diff --git a/contrib/tcp_wrappers/misc.c b/contrib/tcp_wrappers/misc.c index 8f04f870e1b4..258d7091adce 100644 --- a/contrib/tcp_wrappers/misc.c +++ b/contrib/tcp_wrappers/misc.c @@ -19,8 +19,6 @@ static char sccsic[] = "@(#) misc.c 1.2 96/02/11 17:01:29"; #include "tcpd.h" -extern char *fgets(); - #ifndef INADDR_NONE #define INADDR_NONE (-1) /* XXX should be 0xffffffff */ #endif _______________________________________________ dev-commits-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all To unsubscribe, send any mail to "dev-commits-src-all-unsubscr...@freebsd.org"