scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit 73041929f237049e6597795c34eb61d6a64ca28f
parent 951fc8bd3252dfbde5fd682f5b373746400980fa
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Tue, 21 Jun 2016 19:19:01 +0200

fix typo in stdio.h header: size n to size_t n

Diffstat:
libc/include/amd64-sysv/stdio.h | 2+-
libc/include/i386-sysv/stdio.h | 2+-
libc/include/qbe/stdio.h | 2+-
libc/include/z80/stdio.h | 2+-
4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/libc/include/amd64-sysv/stdio.h b/libc/include/amd64-sysv/stdio.h @@ -35,7 +35,7 @@ extern void setbuf(FILE *fp, char *buf); extern int setvbuf(FILE *fp, char *buf, size_t size); extern size_t fread(void *ptr, size_t size, size_t n, FILE *fp); -extern size_t fwrite(const void *ptr, size_t size, size n, FILE *fp); +extern size_t fwrite(const void *ptr, size_t size, size_t n, FILE *fp); extern int fgetc(FILE *fp); extern int getc(FILE *fp); diff --git a/libc/include/i386-sysv/stdio.h b/libc/include/i386-sysv/stdio.h @@ -35,7 +35,7 @@ extern void setbuf(FILE *fp, char *buf); extern int setvbuf(FILE *fp, char *buf, size_t size); extern size_t fread(void *ptr, size_t size, size_t n, FILE *fp); -extern size_t fwrite(const void *ptr, size_t size, size n, FILE *fp); +extern size_t fwrite(const void *ptr, size_t size, size_t n, FILE *fp); extern int fgetc(FILE *fp); extern int getc(FILE *fp); diff --git a/libc/include/qbe/stdio.h b/libc/include/qbe/stdio.h @@ -35,7 +35,7 @@ extern void setbuf(FILE *fp, char *buf); extern int setvbuf(FILE *fp, char *buf, size_t size); extern size_t fread(void *ptr, size_t size, size_t n, FILE *fp); -extern size_t fwrite(const void *ptr, size_t size, size n, FILE *fp); +extern size_t fwrite(const void *ptr, size_t size, size_t n, FILE *fp); extern int fgetc(FILE *fp); extern int getc(FILE *fp); diff --git a/libc/include/z80/stdio.h b/libc/include/z80/stdio.h @@ -35,7 +35,7 @@ extern void setbuf(FILE *fp, char *buf); extern int setvbuf(FILE *fp, char *buf, size_t size); extern size_t fread(void *ptr, size_t size, size_t n, FILE *fp); -extern size_t fwrite(const void *ptr, size_t size, size n, FILE *fp); +extern size_t fwrite(const void *ptr, size_t size, size_t n, FILE *fp); extern int fgetc(FILE *fp); extern int getc(FILE *fp);