mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
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:
parent
e5996090f7
commit
96637a8c35
@ -114,8 +114,8 @@ char* __fastcall__ getenv (const char* name);
|
||||
void __fastcall__ qsort (void* base, size_t count, size_t size,
|
||||
int (*compare) (const void*, const void*));
|
||||
long __fastcall__ strtol (const char* nptr, char** endptr, int base);
|
||||
unsigned long __fastcall__ strtoul (const char* nptr, char** endptr, int base);
|
||||
int system (const char* s);
|
||||
unsigned long __fastcall__ strtoul (const char* nptr, char** endptr, int base);
|
||||
int __fastcall__ system (const char* s);
|
||||
|
||||
/* Non-ANSI functions */
|
||||
void __fastcall__ _swap (void* p, void* q, size_t size);
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int system (const char* s)
|
||||
int __fastcall__ system (const char* s)
|
||||
{
|
||||
if (s == NULL) {
|
||||
return 0; /* no shell */
|
||||
|
Loading…
x
Reference in New Issue
Block a user