Add a comment noting that the definition of __errno is now replicated in

signal.h. Per request of joerg@
This commit is contained in:
dholland 2008-03-03 06:57:48 +00:00
parent ba936e32d4
commit 65900038ce
2 changed files with 4 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: errno.h,v 1.10 2008/02/24 23:01:19 dholland Exp $ */
/* $NetBSD: errno.h,v 1.11 2008/03/03 06:57:48 dholland Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@ -45,6 +45,7 @@
__BEGIN_DECLS
/* note: this appears in both errno.h and signal.h */
#ifndef __errno
int *__errno(void);
#define __errno __errno

View File

@ -1,4 +1,4 @@
/* $NetBSD: signal.h,v 1.49 2008/02/24 23:01:19 dholland Exp $ */
/* $NetBSD: signal.h,v 1.50 2008/03/03 06:57:48 dholland Exp $ */
/*-
* Copyright (c) 1991, 1993
@ -89,6 +89,7 @@ int sigsuspend(const sigset_t *) __RENAME(__sigsuspend14);
#if (defined(__GNUC__) && defined(__STDC__)) || defined(_SIGINLINE)
/* note: this appears in both errno.h and signal.h */
#ifndef __errno
int *__errno(void);
#define __errno __errno