1
0
mirror of https://github.com/cc65/cc65.git synced 2024-09-27 04:54:54 +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:
uz 2009-09-15 21:01:20 +00:00
parent e5996090f7
commit 96637a8c35
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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 */