From bc2fb18752598e2c67b95631b6337b2fc0eb6ba5 Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 3 Jun 2010 20:03:52 +0000 Subject: [PATCH] Removed the mapping function called previously by the errno macro. It will be replaced by a mapping in the functions itself. git-svn-id: svn://svn.cc65.org/cc65/trunk@4685 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/errno.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/include/errno.h b/include/errno.h index edb4a0e87..cacbe0e2f 100644 --- a/include/errno.h +++ b/include/errno.h @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998-2003 Ullrich von Bassewitz */ -/* Römerstrasse 52 */ -/* D-70794 Filderstadt */ -/* EMail: uz@cc65.org */ +/* (C) 1998-2010, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -41,17 +41,17 @@ /* Operating system specific error codes */ extern unsigned char _oserror; -/* Mapper function, don't call directly */ -void _maperrno (void); - -/* This one is called under the hood. User callable. */ +/* The following functions maps an operating system specific error code (for + * example from _oserror) into one of the E... codes below. It is user + * callable. + */ int __fastcall__ _osmaperrno (unsigned char oserror); /* System error codes go here */ extern int _errno; -/* errno must be a macro, here the mapper is called */ -#define errno (_maperrno(), _errno) +/* errno must be a macro */ +#define errno _errno -- 2.39.5