X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fmalloc.c;h=d4dae3e182de32c4586304cc33c683f99c0b5f95;hb=a6f8cadf086f4abeda879dd491e5da7dddb01d59;hp=a43d169271b733412ba2f8326fd7f7643de93869;hpb=16271524e244ae459ad147f9511c49c2efcf3498;p=gnulib.git diff --git a/lib/malloc.c b/lib/malloc.c index a43d16927..d4dae3e18 100644 --- a/lib/malloc.c +++ b/lib/malloc.c @@ -1,5 +1,6 @@ -/* Work around bug on some systems where malloc (0) fails. - Copyright (C) 1997, 1998 Free Software Foundation, Inc. +/* malloc() function that is glibc compatible. + + Copyright (C) 1997, 1998, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -13,13 +14,11 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ + Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* written by Jim Meyering */ -#if HAVE_CONFIG_H -# include -#endif +#include #undef malloc #include