Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F144425759
D43236.id131986.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
739 B
Referenced Files
None
Subscribers
None
D43236.id131986.diff
View Options
diff --git a/contrib/tcp_wrappers/tcpd.c b/contrib/tcp_wrappers/tcpd.c
--- a/contrib/tcp_wrappers/tcpd.c
+++ b/contrib/tcp_wrappers/tcpd.c
@@ -44,7 +44,7 @@
int allow_severity = SEVERITY; /* run-time adjustable */
int deny_severity = LOG_WARNING; /* ditto */
-main(int argc, char **argv)
+int main(int argc, char **argv)
{
struct request_info request;
char path[MAXPATHNAMELEN];
diff --git a/libexec/tcpd/Makefile b/libexec/tcpd/Makefile
--- a/libexec/tcpd/Makefile
+++ b/libexec/tcpd/Makefile
@@ -7,7 +7,6 @@
PROG= tcpd
MAN= tcpd.8
-CSTD?= c89
CFLAGS+=-DREAL_DAEMON_DIR=\"${LIBEXECDIR}\" \
-DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 \
-DHOSTS_DENY=\"/etc/hosts.deny\" -DHOSTS_ALLOW=\"/etc/hosts.allow\" \
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Feb 9, 9:23 AM (19 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28562824
Default Alt Text
D43236.id131986.diff (739 B)
Attached To
Mode
D43236: tcp_wrappers: Use default C standard version
Attached
Detach File
Event Timeline
Log In to Comment