mirror of
https://github.com/cc65/cc65.git
synced 2025-01-14 00:32:08 +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:
parent
0d8727ea33
commit
e9310f8ec1
@ -47,8 +47,8 @@ extern unsigned char _oserror;
|
|||||||
*/
|
*/
|
||||||
int __fastcall__ _osmaperrno (unsigned char oserror);
|
int __fastcall__ _osmaperrno (unsigned char oserror);
|
||||||
|
|
||||||
/* Set errno to a specific error code. Used by the library */
|
/* Set errno to a specific error code and return zero. Used by the library */
|
||||||
void __fastcall__ _seterrno (unsigned char code);
|
unsigned char __fastcall__ _seterrno (unsigned char code);
|
||||||
|
|
||||||
/* System error codes go here */
|
/* System error codes go here */
|
||||||
extern int _errno;
|
extern int _errno;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user