* [PATCH] Tiny warning fix
@ 2004-03-26 19:50 Jakub Jelinek
2004-03-26 22:13 ` Ulrich Drepper
0 siblings, 1 reply; 3+ messages in thread
From: Jakub Jelinek @ 2004-03-26 19:50 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
Hi!
stdlib.h is included indirectly via tls.h only in --with-tls
builds and stddef.h through include/link.h. Needed for exit resp. offsetof.
2004-03-26 Jakub Jelinek <jakub@redhat.com>
* elf/tst-dlmodcount.c: Include stddef.h and stdlib.h.
--- libc/elf/tst-dlmodcount.c.jj 2004-03-23 15:51:11.000000000 +0100
+++ libc/elf/tst-dlmodcount.c 2004-03-26 10:17:28.060349413 +0100
@@ -18,7 +18,9 @@
02111-1307 USA. */
#include <link.h>
+#include <stddef.h>
#include <stdio.h>
+#include <stdlib.h>
#define SET 0
#define ADD 1
Jakub
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] Tiny warning fix
2004-03-26 19:50 [PATCH] Tiny warning fix Jakub Jelinek
@ 2004-03-26 22:13 ` Ulrich Drepper
0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Drepper @ 2004-03-26 22:13 UTC (permalink / raw)
To: Jakub Jelinek; +Cc: Glibc hackers
Applied.
--
⧠Ulrich Drepper ⧠Red Hat, Inc. ⧠444 Castro St ⧠Mountain View, CA â
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] Tiny warning fix
@ 2005-01-19 16:01 Jakub Jelinek
0 siblings, 0 replies; 3+ messages in thread
From: Jakub Jelinek @ 2005-01-19 16:01 UTC (permalink / raw)
To: Ulrich Drepper; +Cc: Glibc hackers
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-01-19 16:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-26 19:50 [PATCH] Tiny warning fix Jakub Jelinek
2004-03-26 22:13 ` Ulrich Drepper
2005-01-19 16:01 Jakub Jelinek
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).