mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-26 11:47:31 +00:00
inetd: two more nits
Use __COPYRIGHT for copyright to simply either embed it via .ident or have it properly marked __unused Move an ipsec reference to IPSEC
This commit is contained in:
parent
36cac5570f
commit
525c896ba8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=356602
@ -29,10 +29,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
#ifndef lint
|
||||
static const char copyright[] =
|
||||
"@(#) Copyright (c) 1983, 1991, 1993, 1994\n\
|
||||
The Regents of the University of California. All rights reserved.\n";
|
||||
__COPYRIGHT("@(#) Copyright (c) 1983, 1991, 1993, 1994\n\
|
||||
The Regents of the University of California. All rights reserved.\n");
|
||||
#endif /* not lint */
|
||||
|
||||
#ifndef lint
|
||||
@ -41,9 +43,6 @@ static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94";
|
||||
#endif
|
||||
#endif /* not lint */
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
/*
|
||||
* Inetd - Internet super-server
|
||||
*
|
||||
@ -1661,7 +1660,9 @@ getconfigent(void)
|
||||
break;
|
||||
}
|
||||
if (cp == NULL) {
|
||||
#ifdef IPSEC
|
||||
free(policy);
|
||||
#endif
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user