From e9310f8ec15f1cd7c17158f9537adecca2ab84b3 Mon Sep 17 00:00:00 2001 From: uz Date: Thu, 3 Jun 2010 20:18:19 +0000 Subject: [PATCH] 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 --- include/errno.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5