summaryrefslogtreecommitdiffstats
path: root/usr.bin/xlint/lint2
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-08-05 09:07:42 +0000
committerstefanf <stefanf@FreeBSD.org>2005-08-05 09:07:42 +0000
commit531cca26d19fb5a06d78794c417d295d2b50a300 (patch)
treebb20d566a9c220bc6346b42583c7cffd6263cf18 /usr.bin/xlint/lint2
parent57264641a657e5dd54eb5d9674fa4575921285b2 (diff)
downloadFreeBSD-src-531cca26d19fb5a06d78794c417d295d2b50a300.zip
FreeBSD-src-531cca26d19fb5a06d78794c417d295d2b50a300.tar.gz
Include <err.h> where needed. Add $FreeBSD$ where missing.
Diffstat (limited to 'usr.bin/xlint/lint2')
-rw-r--r--usr.bin/xlint/lint2/chk.c2
-rw-r--r--usr.bin/xlint/lint2/emit2.c3
-rw-r--r--usr.bin/xlint/lint2/hash.c2
-rw-r--r--usr.bin/xlint/lint2/mem2.c1
-rw-r--r--usr.bin/xlint/lint2/read.c1
5 files changed, 9 insertions, 0 deletions
diff --git a/usr.bin/xlint/lint2/chk.c b/usr.bin/xlint/lint2/chk.c
index 46923f9..ddb9df6 100644
--- a/usr.bin/xlint/lint2/chk.c
+++ b/usr.bin/xlint/lint2/chk.c
@@ -36,8 +36,10 @@
#if defined(__RCSID) && !defined(lint)
__RCSID("$NetBSD: chk.c,v 1.15 2002/01/21 19:49:52 tv Exp $");
#endif
+__FBSDID("$FreeBSD$");
#include <ctype.h>
+#include <err.h>
#include <limits.h>
#include <stdlib.h>
diff --git a/usr.bin/xlint/lint2/emit2.c b/usr.bin/xlint/lint2/emit2.c
index 1b4510f..16c9632 100644
--- a/usr.bin/xlint/lint2/emit2.c
+++ b/usr.bin/xlint/lint2/emit2.c
@@ -36,6 +36,9 @@
#if defined(__RCSID) && !defined(lint)
__RCSID("$NetBSD: emit2.c,v 1.8 2002/01/21 19:49:52 tv Exp $");
#endif
+__FBSDID("$FreeBSD$");
+
+#include <err.h>
#include "lint2.h"
diff --git a/usr.bin/xlint/lint2/hash.c b/usr.bin/xlint/lint2/hash.c
index fac7358..a215aba 100644
--- a/usr.bin/xlint/lint2/hash.c
+++ b/usr.bin/xlint/lint2/hash.c
@@ -35,11 +35,13 @@
#if defined(__RCSID) && !defined(lint)
__RCSID("$NetBSD: hash.c,v 1.7 2002/01/21 19:49:52 tv Exp $");
#endif
+__FBSDID("$FreeBSD$");
/*
* XXX Really need a generalized hash table package
*/
+#include <err.h>
#include <limits.h>
#include <stddef.h>
#include <stdlib.h>
diff --git a/usr.bin/xlint/lint2/mem2.c b/usr.bin/xlint/lint2/mem2.c
index ebc4d13..48e759e 100644
--- a/usr.bin/xlint/lint2/mem2.c
+++ b/usr.bin/xlint/lint2/mem2.c
@@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/types.h>
#include <sys/mman.h>
+#include <err.h>
#include <unistd.h>
#include <string.h>
diff --git a/usr.bin/xlint/lint2/read.c b/usr.bin/xlint/lint2/read.c
index 4695828..6288cc1 100644
--- a/usr.bin/xlint/lint2/read.c
+++ b/usr.bin/xlint/lint2/read.c
@@ -39,6 +39,7 @@ __RCSID("$NetBSD: read.c,v 1.12 2002/01/21 19:49:52 tv Exp $");
__FBSDID("$FreeBSD$");
#include <ctype.h>
+#include <err.h>
#include <limits.h>
#include <stdio.h>
#include <stdlib.h>
OpenPOWER on IntegriCloud