From: Ted Lemon Date: Wed, 11 Sep 1996 05:53:32 +0000 (+0000) Subject: buf doesn't need to be static X-Git-Tag: BETA_5_10~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3be0647e2cfe3dbe4c692c9123cf267030a5c952;p=thirdparty%2Fdhcp.git buf doesn't need to be static --- diff --git a/common/dispatch.c b/common/dispatch.c index a3f1b68c5..0bdc22dbe 100644 --- a/common/dispatch.c +++ b/common/dispatch.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dispatch.c,v 1.23 1996/09/05 23:55:39 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dispatch.c,v 1.24 1996/09/11 05:53:32 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -61,7 +61,7 @@ void discover_interfaces () { struct interface_info *tmp; struct interface_info *last; - static char buf [8192]; + char buf [8192]; struct ifconf ic; struct ifreq ifr; int i; diff --git a/dispatch.c b/dispatch.c index a3f1b68c5..0bdc22dbe 100644 --- a/dispatch.c +++ b/dispatch.c @@ -42,7 +42,7 @@ #ifndef lint static char copyright[] = -"$Id: dispatch.c,v 1.23 1996/09/05 23:55:39 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; +"$Id: dispatch.c,v 1.24 1996/09/11 05:53:32 mellon Exp $ Copyright (c) 1995, 1996 The Internet Software Consortium. All rights reserved.\n"; #endif /* not lint */ #include "dhcpd.h" @@ -61,7 +61,7 @@ void discover_interfaces () { struct interface_info *tmp; struct interface_info *last; - static char buf [8192]; + char buf [8192]; struct ifconf ic; struct ifreq ifr; int i;