From: cuz Date: Tue, 3 Dec 2002 22:25:26 +0000 (+0000) Subject: Make read() and write() fastcall X-Git-Tag: V2.12.0~1945 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=51c31b7ab6af404d51c0e5b87d01c69c0846a623;p=cc65 Make read() and write() fastcall git-svn-id: svn://svn.cc65.org/cc65/trunk@1710 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/fcntl.h b/include/fcntl.h index ff09f6f96..ba256275c 100644 --- a/include/fcntl.h +++ b/include/fcntl.h @@ -59,8 +59,8 @@ typedef long int off_t; /* Functions */ int open (const char* name, int flags, ...); /* May take a mode argument */ int __fastcall__ close (int fd); -int write (int fd, const void* buf, unsigned count); -int read (int fd, void* buf, unsigned count); +int __fastcall__ write (int fd, const void* buf, unsigned count); +int __fastcall__ read (int fd, void* buf, unsigned count); int mkdir (const char* name, ...); /* May take a mode argument */ int rmdir (const char* name); off_t __fastcall__ lseek(int fd, off_t offset, int whence);