diff options
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rmail/rmail.c | 6 | ||||
| -rw-r--r-- | libexec/rpc.rstatd/rstat_proc.c | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/libexec/rmail/rmail.c b/libexec/rmail/rmail.c index 7ae0fea229d..c729d766ae8 100644 --- a/libexec/rmail/rmail.c +++ b/libexec/rmail/rmail.c @@ -1,4 +1,4 @@ -/* $NetBSD: rmail.c,v 1.12 1998/08/25 19:11:12 ross Exp $ */ +/* $NetBSD: rmail.c,v 1.13 1999/01/11 22:40:00 kleink Exp $ */ /* * Copyright (c) 1988, 1993 @@ -40,7 +40,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\ #if 0 static char sccsid[] = "@(#)rmail.c 8.3 (Berkeley) 5/15/95"; #else -__RCSID("$NetBSD: rmail.c,v 1.12 1998/08/25 19:11:12 ross Exp $"); +__RCSID("$NetBSD: rmail.c,v 1.13 1999/01/11 22:40:00 kleink Exp $"); #endif #endif /* not lint */ @@ -68,12 +68,12 @@ __RCSID("$NetBSD: rmail.c,v 1.12 1998/08/25 19:11:12 ross Exp $"); * The err(3) routine is included here deliberately to make this code * a bit more portable. */ -#include <sys/errno.h> #include <sys/param.h> #include <sys/stat.h> #include <sys/wait.h> #include <ctype.h> +#include <errno.h> #include <fcntl.h> #include <paths.h> #include <stdio.h> diff --git a/libexec/rpc.rstatd/rstat_proc.c b/libexec/rpc.rstatd/rstat_proc.c index 2d8bb952eb2..fddfaf8504a 100644 --- a/libexec/rpc.rstatd/rstat_proc.c +++ b/libexec/rpc.rstatd/rstat_proc.c @@ -1,4 +1,4 @@ -/* $NetBSD: rstat_proc.c,v 1.26 1998/08/10 02:57:23 perry Exp $ */ +/* $NetBSD: rstat_proc.c,v 1.27 1999/01/11 22:40:00 kleink Exp $ */ /* * Sun RPC is a product of Sun Microsystems, Inc. and is provided for @@ -35,7 +35,7 @@ static char sccsid[] = "from: @(#)rpc.rstatd.c 1.1 86/09/25 Copyr 1984 Sun Micro"; static char sccsid[] = "from: @(#)rstat_proc.c 2.2 88/08/01 4.0 RPCSRC"; #else -__RCSID("$NetBSD: rstat_proc.c,v 1.26 1998/08/10 02:57:23 perry Exp $"); +__RCSID("$NetBSD: rstat_proc.c,v 1.27 1999/01/11 22:40:00 kleink Exp $"); #endif #endif @@ -46,9 +46,9 @@ __RCSID("$NetBSD: rstat_proc.c,v 1.26 1998/08/10 02:57:23 perry Exp $"); */ #include <sys/param.h> -#include <sys/errno.h> #include <sys/socket.h> +#include <errno.h> #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -138,7 +138,6 @@ int havedisk __P((void)); void rstat_service __P((struct svc_req *, SVCXPRT *)); static int stat_is_init = 0; -extern int errno; #ifndef FSCALE #define FSCALE (1 << 8) |
