* Re: New warnings in malloc.c
2003-01-13 4:59 New warnings in malloc.c Andreas Jaeger
@ 2003-01-13 4:59 ` Roland McGrath
2003-01-13 4:59 ` Ulrich Drepper
1 sibling, 0 replies; 3+ messages in thread
From: Roland McGrath @ 2003-01-13 4:59 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: GNU libc hacker
These are fixed now.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: New warnings in malloc.c
2003-01-13 4:59 New warnings in malloc.c Andreas Jaeger
2003-01-13 4:59 ` Roland McGrath
@ 2003-01-13 4:59 ` Ulrich Drepper
1 sibling, 0 replies; 3+ messages in thread
From: Ulrich Drepper @ 2003-01-13 4:59 UTC (permalink / raw)
To: Andreas Jaeger; +Cc: GNU libc hacker
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Andreas Jaeger wrote:
> these come from changing malloc.c but not changing malloc.h. IMO they
> should be removed from malloc.h.
Roland wants to do something with the functions. Just leave it as is in
the moment.
- --
- --------------. ,-. 444 Castro Street
Ulrich Drepper \ ,-----------------' \ Mountain View, CA 94041 USA
Red Hat `--' drepper at redhat.com `---------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE+IbYw2ijCOnn/RHQRAsZrAJ96P5ABAb3l7t72KZjQH8fG9SCZMQCeJLcm
HL3FERkxJWBjhJZpOgs2R2s=
=skxQ
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* New warnings in malloc.c
@ 2003-01-13 4:59 Andreas Jaeger
2003-01-13 4:59 ` Roland McGrath
2003-01-13 4:59 ` Ulrich Drepper
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Jaeger @ 2003-01-13 4:59 UTC (permalink / raw)
To: GNU libc hacker
I now get:
malloc.c:1472: warning: static declaration for `_int_malloc' follows non-static
malloc.c:1473: warning: static declaration for `_int_free' follows non-static
malloc.c:1474: warning: static declaration for `_int_realloc' follows non-static
malloc.c:1475: warning: static declaration for `_int_memalign' follows non-static
these come from changing malloc.c but not changing malloc.h. IMO they
should be removed from malloc.h.
Ok to apply the appended patch?
Andreas
2003-01-12 Andreas Jaeger <aj@suse.de>
* malloc/malloc.h: Remove now static only functions.
============================================================
Index: malloc/malloc.h
--- malloc/malloc.h 12 Mar 2002 21:58:54 -0000 1.22
+++ malloc/malloc.h 12 Jan 2003 12:32:23 -0000
@@ -229,13 +229,6 @@ struct malloc_state;
typedef struct malloc_state *mstate;
extern mstate _int_new_arena __MALLOC_P ((size_t __ini_size));
-extern __malloc_ptr_t _int_malloc __MALLOC_P ((mstate __m, size_t __size));
-extern void _int_free __MALLOC_P ((mstate __m, __malloc_ptr_t __ptr));
-extern __malloc_ptr_t _int_realloc __MALLOC_P ((mstate __m,
- __malloc_ptr_t __ptr,
- size_t __size));
-extern __malloc_ptr_t _int_memalign __MALLOC_P ((mstate __m, size_t __alignment,
- size_t __size));
#ifdef __cplusplus
}; /* end of extern "C" */
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-01-13 3:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-13 4:59 New warnings in malloc.c Andreas Jaeger
2003-01-13 4:59 ` Roland McGrath
2003-01-13 4:59 ` Ulrich Drepper
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).