[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-inetutils] From the malloc trenches!
From: |
Mats Erik Andersson |
Subject: |
[bug-inetutils] From the malloc trenches! |
Date: |
Mon, 21 Nov 2011 00:50:25 +0100 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Dear all,
we have presently two cases of
#include <stdlib.h>
#ifdef HAVE_MALLOC_H
# include <malloc.h>
#endif
in the two source files
libinetutils/localhost.c
telnet/commands.c
In all unices I am using, the proper prototype for malloc(3) is
in <stdlib.h>, and any invocation of <malloc.h> issues a warning
that its use is nowadays obsolete. Is there any known harm in
actually removing these superfluous inclusions?
Best regards,
Mats
- [bug-inetutils] From the malloc trenches!,
Mats Erik Andersson <=