This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Tiny warning fix


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]