[PATCH] Tiny warning fix

Jakub Jelinek jakub@redhat.com
Wed Jan 19 16:01:00 GMT 2005


Hi!

iofopncook.c:100: warning: function declaration isn't a prototype

Fixed thusly:

2005-01-19  Jakub Jelinek  <jakub@redhat.com>

	* libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.

--- libc/libio/iofopncook.c.jj	2005-01-08 16:50:21.000000000 +0100
+++ libc/libio/iofopncook.c	2005-01-19 16:53:47.028493214 +0100
@@ -37,6 +37,8 @@ static _IO_ssize_t _IO_cookie_read (regi
 static _IO_ssize_t _IO_cookie_write (register _IO_FILE* fp,
 				     const void* buf, _IO_ssize_t size);
 static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir);
+static _IO_off64_t _IO_cookie_seekoff (_IO_FILE *fp, _IO_off64_t offset,
+				       int dir, int mode);
 static int _IO_cookie_close (_IO_FILE* fp);
 
 static _IO_ssize_t


	Jakub



More information about the Libc-hacker mailing list