[hackers] [scc] fix typo in stdio.h header: size n to size_t n || Hiltjo Posthuma

From: <git_AT_suckless.org>
Date: Tue, 21 Jun 2016 19:19:34 +0200 (CEST)

commit 73041929f237049e6597795c34eb61d6a64ca28f
Author: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
AuthorDate: Tue Jun 21 19:19:01 2016 +0200
Commit: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
CommitDate: Tue Jun 21 19:19:01 2016 +0200

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

diff --git a/libc/include/amd64-sysv/stdio.h b/libc/include/amd64-sysv/stdio.h
index e9df1a4..1341918 100644
--- a/libc/include/amd64-sysv/stdio.h
+++ b/libc/include/amd64-sysv/stdio.h
_AT_@ -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
index e9df1a4..1341918 100644
--- a/libc/include/i386-sysv/stdio.h
+++ b/libc/include/i386-sysv/stdio.h
_AT_@ -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
index e9df1a4..1341918 100644
--- a/libc/include/qbe/stdio.h
+++ b/libc/include/qbe/stdio.h
_AT_@ -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
index 636796f..38c3c36 100644
--- a/libc/include/z80/stdio.h
+++ b/libc/include/z80/stdio.h
_AT_@ -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);
Received on Tue Jun 21 2016 - 19:19:34 CEST

This archive was generated by hypermail 2.3.0 : Tue Jun 21 2016 - 19:24:14 CEST