From 51c31b7ab6af404d51c0e5b87d01c69c0846a623 Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 3 Dec 2002 22:25:26 +0000 Subject: [PATCH] Make read() and write() fastcall git-svn-id: svn://svn.cc65.org/cc65/trunk@1710 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/fcntl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5