Include <err.h> where needed. Add $FreeBSD$ where missing.

This commit is contained in:
stefanf 2005-08-05 09:07:42 +00:00
parent 57264641a6
commit 531cca26d1
7 changed files with 11 additions and 0 deletions

View File

@ -42,6 +42,7 @@ __FBSDID("$FreeBSD$");
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <err.h>
#include <errno.h>
#include <limits.h>

View File

@ -40,6 +40,7 @@ __FBSDID("$FreeBSD$");
#include <sys/types.h>
#include <sys/mman.h>
#include <sys/param.h>
#include <err.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

View File

@ -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>

View File

@ -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"

View File

@ -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>

View File

@ -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>

View File

@ -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>