summaryrefslogtreecommitdiffstats
path: root/lib/libatm/ip_addr.c
diff options
context:
space:
mode:
authormks <mks@FreeBSD.org>1999-07-01 20:48:59 +0000
committermks <mks@FreeBSD.org>1999-07-01 20:48:59 +0000
commit7707e35f12ca77282d0d391e98bf0db7bf1b734c (patch)
tree4a3901b074c8e4dd2814e00f82d841659871f67a /lib/libatm/ip_addr.c
parent22e38b45b20e68f38edb59cfdd12a4422d39c6c4 (diff)
downloadFreeBSD-src-7707e35f12ca77282d0d391e98bf0db7bf1b734c.zip
FreeBSD-src-7707e35f12ca77282d0d391e98bf0db7bf1b734c.tar.gz
Modify code to be -Wall'able.
PR: bin/11315
Diffstat (limited to 'lib/libatm/ip_addr.c')
-rw-r--r--lib/libatm/ip_addr.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libatm/ip_addr.c b/lib/libatm/ip_addr.c
index aee3368..fbf60c4 100644
--- a/lib/libatm/ip_addr.c
+++ b/lib/libatm/ip_addr.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: ip_addr.c,v 1.1 1998/07/09 21:45:42 johnc Exp $
+ * @(#) $Id: ip_addr.c,v 1.1 1998/09/15 08:22:34 phk Exp $
*
*/
@@ -35,14 +35,8 @@
*
*/
-#ifndef lint
-static char *RCSid = "@(#) $Id: ip_addr.c,v 1.1 1998/07/09 21:45:42 johnc Exp $";
-#endif
-
#include <sys/types.h>
#include <sys/param.h>
-
-#include <netdb.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
@@ -54,8 +48,15 @@ static char *RCSid = "@(#) $Id: ip_addr.c,v 1.1 1998/07/09 21:45:42 johnc Exp $"
#include <netatm/atm_sys.h>
#include <netatm/atm_ioctl.h>
+#include <netdb.h>
+#include <string.h>
+
#include "libatm.h"
+#ifndef lint
+__RCSID("@(#) $Id: ip_addr.c,v 1.1 1998/09/15 08:22:34 phk Exp $");
+#endif
+
/*
* Get IP address
OpenPOWER on IntegriCloud