public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
* A patch for csu/initfini.c
@ 1999-08-25 17:03 H.J. Lu
  1999-08-26  0:35 ` Andreas Schwab
  0 siblings, 1 reply; 2+ messages in thread
From: H.J. Lu @ 1999-08-25 17:03 UTC (permalink / raw)
  To: GNU C Library

Hi,

Could someone please tell me why we include <stdlib.h> in
csu/initfini.c?

-- 
H.J. Lu (hjl@gnu.org)
--
Wed Aug 25 17:00:15 1999  H.J. Lu  <hjl@gnu.org>

	* csu/initfini.c: Don't include <stdlib.h>.

Index: csu/initfini.c
===================================================================
RCS file: /work/cvs/gnu/glibc/csu/initfini.c,v
retrieving revision 1.1.1.1
diff -u -p -r1.1.1.1 initfini.c
--- csu/initfini.c	1999/08/08 17:01:09	1.1.1.1
+++ csu/initfini.c	1999/08/25 23:58:37
@@ -36,8 +36,6 @@
    * crtn.s puts the corresponding function epilogues
    in the .init and .fini sections. */
 
-#include <stdlib.h>
-
 /* We use embedded asm for .section unconditionally, as this makes it
    easier to insert the necessary directives into crtn.S. */
 #define SECTION(x) asm (".section " x );

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A patch for csu/initfini.c
  1999-08-25 17:03 A patch for csu/initfini.c H.J. Lu
@ 1999-08-26  0:35 ` Andreas Schwab
  0 siblings, 0 replies; 2+ messages in thread
From: Andreas Schwab @ 1999-08-26  0:35 UTC (permalink / raw)
  To: H.J. Lu; +Cc: GNU C Library

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 379 bytes --]

hjl@varesearch.com (H.J. Lu) writes:

|> Could someone please tell me why we include <stdlib.h> in
|> csu/initfini.c?

Why don't you just tell us why it is a problem?

Andreas.

-- 
Andreas Schwab                                  "And now for something
schwab@suse.de                                   completely different."
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-08-26  0:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-08-25 17:03 A patch for csu/initfini.c H.J. Lu
1999-08-26  0:35 ` Andreas Schwab

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).