From 7c62d872a58a1ac72a1e6b8f33a59cf244b1fcb8 Mon Sep 17 00:00:00 2001 From: Warner Losh Date: Mon, 4 Sep 2000 05:48:09 +0000 Subject: [PATCH] strerror is declared in errno is declared in --- libexec/bootpd/report.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libexec/bootpd/report.c b/libexec/bootpd/report.c index e754a3013c2e..8edb97f5e4db 100644 --- a/libexec/bootpd/report.c +++ b/libexec/bootpd/report.c @@ -1,3 +1,5 @@ +/* $FreeBSD$ */ + /* * report() - calls syslog */ @@ -10,6 +12,8 @@ #include #include +#include +#include #include "report.h" @@ -135,9 +139,6 @@ report(priority, fmt, va_alist) char * get_errmsg() { - extern int errno; - extern char *strerror(); - return strerror(errno); }