From: cuz Date: Sat, 23 Nov 2002 23:05:21 +0000 (+0000) Subject: Make fread and fwrite fastcall X-Git-Tag: V2.12.0~2020 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0060b9fc45065e13f5219f31ec45009424b2def4;p=cc65 Make fread and fwrite fastcall git-svn-id: svn://svn.cc65.org/cc65/trunk@1617 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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);