1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-26 20:29:34 +00:00

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
This commit is contained in:
uz 2010-06-03 20:18:19 +00:00
parent 0d8727ea33
commit e9310f8ec1

View File

@ -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;