From: uz Date: Thu, 3 Jun 2010 20:18:19 +0000 (+0000) Subject: Change the prototype for _seterrno to return a char, since the function will X-Git-Tag: V2.13.3~745 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e9310f8ec15f1cd7c17158f9537adecca2ab84b3;p=cc65 Change the prototype for _seterrno to return a char, since the function will always return zero in A and this can be used in C code to make the code shorter. git-svn-id: svn://svn.cc65.org/cc65/trunk@4687 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/errno.h b/include/errno.h index 3743eb013..5dba2a1f7 100644 --- a/include/errno.h +++ b/include/errno.h @@ -47,8 +47,8 @@ extern unsigned char _oserror; */ int __fastcall__ _osmaperrno (unsigned char oserror); -/* Set errno to a specific error code. Used by the library */ -void __fastcall__ _seterrno (unsigned char code); +/* Set errno to a specific error code and return zero. Used by the library */ +unsigned char __fastcall__ _seterrno (unsigned char code); /* System error codes go here */ extern int _errno;