diff options
| author | Warner Losh <imp@FreeBSD.org> | 2000-09-04 05:48:09 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2000-09-04 05:48:09 +0000 |
| commit | 7c62d872a58a1ac72a1e6b8f33a59cf244b1fcb8 (patch) | |
| tree | e104f59bf40934130ac9c74b58cfedb013b09494 /libexec | |
| parent | 53410a4824650e20f84559ff483156f4717cb4d4 (diff) | |
Notes
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/bootpd/report.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libexec/bootpd/report.c b/libexec/bootpd/report.c index e754a3013c2e9..8edb97f5e4dba 100644 --- a/libexec/bootpd/report.c +++ b/libexec/bootpd/report.c @@ -1,3 +1,5 @@ +/* $FreeBSD$ */ + /* * report() - calls syslog */ @@ -10,6 +12,8 @@ #include <stdio.h> #include <syslog.h> +#include <string.h> +#include <errno.h> #include "report.h" @@ -135,9 +139,6 @@ report(priority, fmt, va_alist) char * get_errmsg() { - extern int errno; - extern char *strerror(); - return strerror(errno); } |
