Skip to content
Browse files

added function declarations to remove compilation warning on freebsd5

  • Loading branch information...
1 parent 27f9fe2 commit 9792d554069e3d222015b72a8d456946597b4d2b suz committed Aug 1, 2004
Showing with 5 additions and 2 deletions.
  1. +3 −1 kame/kame/dhcp6/cfparse.y
  2. +2 −1 kame/kame/dhcp6/dhcp6sctl.c
View
4 kame/kame/dhcp6/cfparse.y
@@ -1,4 +1,4 @@
-/* $KAME: cfparse.y,v 1.31 2004/06/11 12:22:55 jinmei Exp $ */
+/* $KAME: cfparse.y,v 1.32 2004/08/01 07:34:34 suz Exp $ */
/*
* Copyright (C) 2002 WIDE Project.
@@ -38,6 +38,7 @@
#include <arpa/inet.h>
+#include <stdlib.h>
#include <string.h>
#include "dhcp6.h"
@@ -88,6 +89,7 @@ struct cf_list *cf_sip_list, *cf_sip_name_list;
long long cf_lifetime = -1;
extern int yylex __P((void));
+static int add_namelist __P((struct cf_namelist *, struct cf_namelist **));
static void cleanup __P((void));
static void cleanup_namelist __P((struct cf_namelist *));
static void cleanup_cflist __P((struct cf_list *));
View
3 kame/kame/dhcp6/dhcp6sctl.c
@@ -1,4 +1,4 @@
-/* $KAME: dhcp6sctl.c,v 1.9 2004/07/29 23:39:27 jinmei Exp $ */
+/* $KAME: dhcp6sctl.c,v 1.10 2004/08/01 07:34:34 suz Exp $ */
/*
* Copyright (C) 2004 WIDE Project.
@@ -46,6 +46,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <netdb.h>
#include <err.h>

0 comments on commit 9792d55

Please sign in to comment.
Something went wrong with that request. Please try again.