Loading...
stdio/FreeBSD/stdio.c Libc-1725.40.4 Libc-825.26
--- Libc/Libc-1725.40.4/stdio/FreeBSD/stdio.c
+++ Libc/Libc-825.26/stdio/FreeBSD/stdio.c
@@ -50,7 +50,10 @@
  * Small standard I/O/seek/close functions.
  */
 int
-__sread(void *cookie, char *buf, int n)
+__sread(cookie, buf, n)
+	void *cookie;
+	char *buf;
+	int n;
 {
 	FILE *fp = cookie;
 
@@ -58,7 +61,10 @@
 }
 
 int
-__swrite(void *cookie, char const *buf, int n)
+__swrite(cookie, buf, n)
+	void *cookie;
+	char const *buf;
+	int n;
 {
 	FILE *fp = cookie;
 
@@ -66,7 +72,10 @@
 }
 
 fpos_t
-__sseek(void *cookie, fpos_t offset, int whence)
+__sseek(cookie, offset, whence)
+	void *cookie;
+	fpos_t offset;
+	int whence;
 {
 	FILE *fp = cookie;
 
@@ -74,7 +83,8 @@
 }
 
 int
-__sclose(void *cookie)
+__sclose(cookie)
+	void *cookie;
 {
 
 	return (_close(((FILE *)cookie)->_file));
@@ -84,7 +94,10 @@
  * Higher level wrappers.
  */
 int
-_sread(FILE *fp, char *buf, int n)
+_sread(fp, buf, n)
+	FILE *fp;
+	char *buf;
+	int n;
 {
 	int ret;
 
@@ -102,7 +115,10 @@
 }
 
 int
-_swrite(FILE *fp, char const *buf, int n)
+_swrite(fp, buf, n)
+	FILE *fp;
+	char const *buf;
+	int n;
 {
 	int ret;
 	int serrno;
@@ -129,7 +145,10 @@
 }
 
 fpos_t
-_sseek(FILE *fp, fpos_t offset, int whence)
+_sseek(fp, offset, whence)
+	FILE *fp;
+	fpos_t offset;
+	int whence;
 {
 	fpos_t ret;
 	int serrno, errret;