summaryrefslogtreecommitdiffstats
path: root/usr.sbin/atm/scspd/scsp_config.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 /usr.sbin/atm/scspd/scsp_config.c
parent22e38b45b20e68f38edb59cfdd12a4422d39c6c4 (diff)
downloadFreeBSD-src-7707e35f12ca77282d0d391e98bf0db7bf1b734c.zip
FreeBSD-src-7707e35f12ca77282d0d391e98bf0db7bf1b734c.tar.gz
Modify code to be -Wall'able.
PR: bin/11315
Diffstat (limited to 'usr.sbin/atm/scspd/scsp_config.c')
-rw-r--r--usr.sbin/atm/scspd/scsp_config.c25
1 files changed, 13 insertions, 12 deletions
diff --git a/usr.sbin/atm/scspd/scsp_config.c b/usr.sbin/atm/scspd/scsp_config.c
index 99eca7a..9d86b58 100644
--- a/usr.sbin/atm/scspd/scsp_config.c
+++ b/usr.sbin/atm/scspd/scsp_config.c
@@ -23,7 +23,7 @@
* Copies of this Software may be made, however, the above copyright
* notice must be reproduced on all copies.
*
- * @(#) $Id: scsp_config.c,v 1.3 1998/08/13 20:11:14 johnc Exp $
+ * @(#) $Id: scsp_config.c,v 1.1 1998/09/15 08:23:15 phk Exp $
*
*/
@@ -35,18 +35,8 @@
*
*/
-#ifndef lint
-static char *RCSid = "@(#) $Id: scsp_config.c,v 1.3 1998/08/13 20:11:14 johnc Exp $";
-#endif
-
#include <sys/types.h>
#include <sys/param.h>
-
-#include <errno.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <syslog.h>
#include <sys/socket.h>
#include <net/if.h>
#include <netinet/in.h>
@@ -58,11 +48,23 @@ static char *RCSid = "@(#) $Id: scsp_config.c,v 1.3 1998/08/13 20:11:14 johnc Ex
#include <netatm/atm_sys.h>
#include <netatm/atm_ioctl.h>
+#include <errno.h>
#include <libatm.h>
+#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
+#include <syslog.h>
+
#include "scsp_msg.h"
#include "scsp_if.h"
#include "scsp_var.h"
+#ifndef lint
+__RCSID("@(#) $Id: scsp_config.c,v 1.1 1998/09/15 08:23:15 phk Exp $");
+#endif
+
+
+extern int yyparse __P((void));
/*
* Global variables
@@ -72,7 +74,6 @@ Scsp_server *current_server;
Scsp_dcs *current_dcs;
-
/*
* Process the configuration file
*
OpenPOWER on IntegriCloud