Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sushi Don't declare errno locally.
details: https://anonhg.NetBSD.org/src/rev/d3458616f645
branches: trunk
changeset: 574692:d3458616f645
user: kleink <kleink%NetBSD.org@localhost>
date: Wed Mar 09 22:09:36 2005 +0000
description:
Don't declare errno locally.
diffstat:
usr.sbin/sushi/functions.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r 74007aebc18f -r d3458616f645 usr.sbin/sushi/functions.c
--- a/usr.sbin/sushi/functions.c Wed Mar 09 21:22:59 2005 +0000
+++ b/usr.sbin/sushi/functions.c Wed Mar 09 22:09:36 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: functions.c,v 1.11 2005/01/18 18:07:21 peter Exp $ */
+/* $NetBSD: functions.c,v 1.12 2005/03/09 22:09:36 kleink Exp $ */
/*
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -39,6 +39,7 @@
#include <sys/utsname.h>
#include <err.h>
+#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -56,7 +57,6 @@
extern int logging;
extern FILE *logfile;
extern FILE *script;
-extern int errno;
extern nl_catd catalog;
char *ftp_base(int);
Home |
Main Index |
Thread Index |
Old Index