summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2005-08-23 23:59:55 +0000
committerbrooks <brooks@FreeBSD.org>2005-08-23 23:59:55 +0000
commitb9c30d0c5778ea1344208e8706c502aa02ab54e8 (patch)
tree3320b43ed359ad7a04d6facd069643b9087bb755
parent41ee608d23f9a41a9ab3161db36a249f55da780f (diff)
downloadFreeBSD-src-b9c30d0c5778ea1344208e8706c502aa02ab54e8.zip
FreeBSD-src-b9c30d0c5778ea1344208e8706c502aa02ab54e8.tar.gz
Add __FBSDID to all .c files in dhclient to aid in determining file
versions when dealing with user problems.
-rw-r--r--sbin/dhclient/alloc.c3
-rw-r--r--sbin/dhclient/bpf.c4
-rw-r--r--sbin/dhclient/clparse.c3
-rw-r--r--sbin/dhclient/conflex.c3
-rw-r--r--sbin/dhclient/convert.c3
-rw-r--r--sbin/dhclient/dhclient.c4
-rw-r--r--sbin/dhclient/dispatch.c3
-rw-r--r--sbin/dhclient/errwarn.c3
-rw-r--r--sbin/dhclient/hash.c3
-rw-r--r--sbin/dhclient/inet.c3
-rw-r--r--sbin/dhclient/options.c3
-rw-r--r--sbin/dhclient/packet.c3
-rw-r--r--sbin/dhclient/parse.c4
-rw-r--r--sbin/dhclient/privsep.c3
-rw-r--r--sbin/dhclient/tables.c4
-rw-r--r--sbin/dhclient/tree.c3
16 files changed, 48 insertions, 4 deletions
diff --git a/sbin/dhclient/alloc.c b/sbin/dhclient/alloc.c
index cabb76d..cd60cec 100644
--- a/sbin/dhclient/alloc.c
+++ b/sbin/dhclient/alloc.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
struct string_list *
diff --git a/sbin/dhclient/bpf.c b/sbin/dhclient/bpf.c
index 60a9d74..785db21 100644
--- a/sbin/dhclient/bpf.c
+++ b/sbin/dhclient/bpf.c
@@ -1,5 +1,4 @@
/* $OpenBSD: bpf.c,v 1.13 2004/05/05 14:28:58 deraadt Exp $ */
-/* $FreeBSD$ */
/* BPF socket interface code, originally contributed by Archie Cobbs. */
@@ -41,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include <sys/ioctl.h>
#include <sys/uio.h>
diff --git a/sbin/dhclient/clparse.c b/sbin/dhclient/clparse.c
index 2777902..e43a876 100644
--- a/sbin/dhclient/clparse.c
+++ b/sbin/dhclient/clparse.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include "dhctoken.h"
diff --git a/sbin/dhclient/conflex.c b/sbin/dhclient/conflex.c
index ee96bfe..39409a9 100644
--- a/sbin/dhclient/conflex.c
+++ b/sbin/dhclient/conflex.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <ctype.h>
#include "dhcpd.h"
diff --git a/sbin/dhclient/convert.c b/sbin/dhclient/convert.c
index 0626dc4..adca092 100644
--- a/sbin/dhclient/convert.c
+++ b/sbin/dhclient/convert.c
@@ -43,6 +43,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
u_int32_t
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 9f2b269..bcf09a7 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,5 +1,4 @@
/* $OpenBSD: dhclient.c,v 1.63 2005/02/06 17:10:13 krw Exp $ */
-/* $FreeBSD$ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -54,6 +53,9 @@
* purpose.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include "privsep.h"
diff --git a/sbin/dhclient/dispatch.c b/sbin/dhclient/dispatch.c
index a0d7e90..2fec913 100644
--- a/sbin/dhclient/dispatch.c
+++ b/sbin/dhclient/dispatch.c
@@ -39,6 +39,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include <sys/ioctl.h>
diff --git a/sbin/dhclient/errwarn.c b/sbin/dhclient/errwarn.c
index 03b7547..de34583 100644
--- a/sbin/dhclient/errwarn.c
+++ b/sbin/dhclient/errwarn.c
@@ -40,6 +40,9 @@
* with Vixie Laboratories.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <errno.h>
#include "dhcpd.h"
diff --git a/sbin/dhclient/hash.c b/sbin/dhclient/hash.c
index 4f1795b..040236a 100644
--- a/sbin/dhclient/hash.c
+++ b/sbin/dhclient/hash.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
static int do_hash(unsigned char *, int, int);
diff --git a/sbin/dhclient/inet.c b/sbin/dhclient/inet.c
index a528475..4b7b1ce 100644
--- a/sbin/dhclient/inet.c
+++ b/sbin/dhclient/inet.c
@@ -42,6 +42,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
/*
diff --git a/sbin/dhclient/options.c b/sbin/dhclient/options.c
index 9c8e8fc..09aa4d8 100644
--- a/sbin/dhclient/options.c
+++ b/sbin/dhclient/options.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include <ctype.h>
#define DHCP_OPTION_DATA
diff --git a/sbin/dhclient/packet.c b/sbin/dhclient/packet.c
index 1a22044..484953c 100644
--- a/sbin/dhclient/packet.c
+++ b/sbin/dhclient/packet.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include <netinet/in_systm.h>
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c
index 36eaf7f..6a54fd0 100644
--- a/sbin/dhclient/parse.c
+++ b/sbin/dhclient/parse.c
@@ -1,5 +1,4 @@
/* $OpenBSD: parse.c,v 1.11 2004/05/05 23:07:47 deraadt Exp $ */
-/* $FreeBSD$ */
/* Common parser code for dhcpd and dhclient. */
@@ -41,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include "dhctoken.h"
diff --git a/sbin/dhclient/privsep.c b/sbin/dhclient/privsep.c
index cf47e56..b42572f 100644
--- a/sbin/dhclient/privsep.c
+++ b/sbin/dhclient/privsep.c
@@ -16,6 +16,9 @@
* OF OR IN CONNECTION WITH THE USE, ABUSE OR PERFORMANCE OF THIS SOFTWARE.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
#include "privsep.h"
diff --git a/sbin/dhclient/tables.c b/sbin/dhclient/tables.c
index 93ff6ac..2c3add2 100644
--- a/sbin/dhclient/tables.c
+++ b/sbin/dhclient/tables.c
@@ -1,5 +1,4 @@
/* $OpenBSD: tables.c,v 1.4 2004/05/04 20:28:40 deraadt Exp $ */
-/* $FreeBSD$ */
/* Tables of information... */
@@ -41,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
/*
diff --git a/sbin/dhclient/tree.c b/sbin/dhclient/tree.c
index 89ac450..0ed2919 100644
--- a/sbin/dhclient/tree.c
+++ b/sbin/dhclient/tree.c
@@ -40,6 +40,9 @@
* Enterprises, see ``http://www.vix.com''.
*/
+#include <sys/cdefs.h>
+__FBSDID("$FreeBSD$");
+
#include "dhcpd.h"
extern int h_errno;
OpenPOWER on IntegriCloud