Don't declare errno, ANSI C does this already.

This commit is contained in:
joerg 2005-10-07 16:00:57 +00:00
parent df839627cc
commit 214fe4d29c
2 changed files with 15 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.3 2005/02/24 13:40:55 agc Exp $
$NetBSD: distinfo,v 1.4 2005/10/07 16:00:57 joerg Exp $
SHA1 (mktemp-1.5.tar.gz) = aa001fd61d13bbf128dc58ca4dc6d83311435bae
RMD160 (mktemp-1.5.tar.gz) = a2fa93592e1d362aa0882a70ea494cc45da48dab
Size (mktemp-1.5.tar.gz) = 70529 bytes
SHA1 (patch-aa) = fd6a799fbf14223cb71db35868e90f73cdea2df1

View file

@ -0,0 +1,13 @@
$NetBSD: patch-aa,v 1.1 2005/10/07 16:00:57 joerg Exp $
--- extern.h.orig 2005-07-22 14:18:08.000000000 +0000
+++ extern.h
@@ -38,8 +38,6 @@
# define __P(args) ()
#endif
-extern int errno;
-
extern char *MKDTEMP __P((char *));
extern int MKSTEMP __P((char *));
extern long get_random __P((void));