Make system() fastcall like most other library functions.

git-svn-id: svn://svn.cc65.org/cc65/trunk@4178 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
uz 2009-09-15 21:01:20 +00:00
parent e5996090f7
commit 96637a8c35
2 changed files with 3 additions and 3 deletions

View file

@ -115,7 +115,7 @@ void __fastcall__ qsort (void* base, size_t count, size_t size,
int (*compare) (const void*, const void*)); int (*compare) (const void*, const void*));
long __fastcall__ strtol (const char* nptr, char** endptr, int base); long __fastcall__ strtol (const char* nptr, char** endptr, int base);
unsigned long __fastcall__ strtoul (const char* nptr, char** endptr, int base); unsigned long __fastcall__ strtoul (const char* nptr, char** endptr, int base);
int system (const char* s); int __fastcall__ system (const char* s);
/* Non-ANSI functions */ /* Non-ANSI functions */
void __fastcall__ _swap (void* p, void* q, size_t size); void __fastcall__ _swap (void* p, void* q, size_t size);

View file

@ -8,7 +8,7 @@
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
int system (const char* s) int __fastcall__ system (const char* s)
{ {
if (s == NULL) { if (s == NULL) {
return 0; /* no shell */ return 0; /* no shell */