summaryrefslogtreecommitdiffstats
path: root/sbin/dump/dumprmt.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2000-04-14 06:15:01 +0000
committerimp <imp@FreeBSD.org>2000-04-14 06:15:01 +0000
commit7fec3d2787608459e561d33aa2c5f4370c7eb11f (patch)
treedcaa461be797396514a3cad83c83a102b6255162 /sbin/dump/dumprmt.c
parent212803777e16b9fe9d5c92e839ece868ac93b66b (diff)
downloadFreeBSD-src-7fec3d2787608459e561d33aa2c5f4370c7eb11f.zip
FreeBSD-src-7fec3d2787608459e561d33aa2c5f4370c7eb11f.tar.gz
Add include of errno.h where needed, remove extern int errno where not.
These commits were inspired by a similar commit to netbsd.
Diffstat (limited to 'sbin/dump/dumprmt.c')
-rw-r--r--sbin/dump/dumprmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dump/dumprmt.c b/sbin/dump/dumprmt.c
index b6563e5..ffc009d 100644
--- a/sbin/dump/dumprmt.c
+++ b/sbin/dump/dumprmt.c
@@ -63,6 +63,7 @@ static const char rcsid[] =
#include <pwd.h>
#include <stdio.h>
#ifdef __STDC__
+#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -357,7 +358,6 @@ rmtreply(cmd)
{
register char *cp;
char code[30], emsg[BUFSIZ];
- extern int errno;
rmtgets(code, sizeof (code));
if (*code == 'E' || *code == 'F') {
OpenPOWER on IntegriCloud