diff options
author | Dmitry Morozovsky <marck@FreeBSD.org> | 2013-09-05 07:40:06 +0000 |
---|---|---|
committer | Dmitry Morozovsky <marck@FreeBSD.org> | 2013-09-05 07:40:06 +0000 |
commit | 8d172abc06d558491c5d5b507ad4f96be2d62fb7 (patch) | |
tree | 47984078594b377bf1e8939b83e6df37f9d1a778 /net-mgmt/ehnt | |
parent | 936c2b64af47e431a438fc843209844a7d6b8850 (diff) | |
download | ports-8d172abc06d558491c5d5b507ad4f96be2d62fb7.tar.gz ports-8d172abc06d558491c5d5b507ad4f96be2d62fb7.zip |
Clang is more strict than gcc. Fix build for 10.*
No need to bump revision as there are no changes
except one brach build fix.
Notified by: pkg-fallout
Notes
Notes:
svn path=/head/; revision=326363
Diffstat (limited to 'net-mgmt/ehnt')
-rw-r--r-- | net-mgmt/ehnt/files/patch-ehnt__client.c | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/net-mgmt/ehnt/files/patch-ehnt__client.c b/net-mgmt/ehnt/files/patch-ehnt__client.c index d170c3dbe9a6..fd95170f2dc6 100644 --- a/net-mgmt/ehnt/files/patch-ehnt__client.c +++ b/net-mgmt/ehnt/files/patch-ehnt__client.c @@ -1,8 +1,8 @@ $FreeBSD$ ---- ehnt_client.c.orig Thu Oct 4 22:18:29 2001 -+++ ehnt_client.c Mon Aug 9 23:49:05 2004 +--- ehnt_client.c.orig ++++ ehnt_client.c @@ -27,6 +27,9 @@ static void sig_int (int); char getkey(); @@ -42,3 +42,12 @@ $FreeBSD$ char key; key=getkey(); switch (key) { +@@ -125,7 +130,7 @@ + } /* for ( ; ; ) */ + } + +-int ehnt_client_processmessage(int sockfd,struct in_addr routeraddr, struct ehnt_struct *my_ehnt_struct ) { ++void ehnt_client_processmessage(int sockfd,struct in_addr routeraddr, struct ehnt_struct *my_ehnt_struct ) { + int c,i; + char mesg[MAXPACKET]; + struct flow_ver5_hdr * flowhdr; |