From 0060b9fc45065e13f5219f31ec45009424b2def4 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 23 Nov 2002 23:05:21 +0000 Subject: [PATCH] Make fread and fwrite fastcall git-svn-id: svn://svn.cc65.org/cc65/trunk@1617 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/stdio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/stdio.h b/include/stdio.h index 813e1ac6b..04725d244 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -84,9 +84,9 @@ FILE* __fastcall__ fopen (const char* name, const char* mode); int fprintf (FILE* f, const char* format, ...); int fputc (int c, FILE* f); int fputs (const char* s, FILE* f); -size_t fread (void* buf, size_t size, size_t count, FILE* f); +size_t __fastcall__ fread (void* buf, size_t size, size_t count, FILE* f); FILE* freopen (const char* name, const char* mode, FILE* f); -size_t fwrite (const void* buf, size_t size, size_t count, FILE* f); +size_t __fastcall__ fwrite (const void* buf, size_t size, size_t count, FILE* f); int fgetpos(FILE* f, fpos_t *pos); int fsetpos(FILE* f, const fpos_t* pos); long ftell(FILE* f);