Added _poserror, made perror __fastcall__

git-svn-id: svn://svn.cc65.org/cc65/trunk@2071 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-04-24 20:55:55 +00:00
parent fa849031d8
commit 254f8a9cd6
5 changed files with 93 additions and 8 deletions

View File

@@ -94,7 +94,7 @@ int fseek(FILE* f, long offset, int whence);
void rewind(FILE *f);
int getchar (void);
char* gets (char* s);
void perror (const char* s);
void __fastcall__ perror (const char* s);
int printf (const char* format, ...);
int putchar (int c);
int puts (const char* s);
@@ -117,7 +117,7 @@ int vfscanf (FILE* f, const char* format, va_list ap);
FILE* fdopen (int fd, const char* mode); /* Unix */
int __fastcall__ fileno (FILE* f); /* Unix */
#endif
void __fastcall__ _poserror (const char* msg); /* cc65 */
/* Masking macros for some functions */
#define getchar() fgetc (stdin) /* ANSI */