Date: Sun, 10 Jul 2011 07:25:34 +0000 (UTC) From: Tai-hwa Liang <avatar@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/lib/libstand stand.h zalloc.c zalloc_defs.h zalloc_malloc.c zalloc_mem.h zalloc_protos.h Message-ID: <201107100726.p6A7Q0WJ085656@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
avatar 2011-07-10 07:25:34 UTC FreeBSD src repository Modified files: lib/libstand stand.h zalloc.c zalloc_defs.h zalloc_malloc.c zalloc_mem.h zalloc_protos.h Log: SVN rev 223905 on 2011-07-10 07:25:34Z by avatar - Removing some unneeded definitions of NULL(cruft related to 1970's C). In C90, NULL is guaranteed to be declared in <stddef.h> and also in <string.h>. Though the correct way to define NULL in FreeBSD is to include <sys/_null.h>, other parts of libstand still require <string.h> to build; therefore, we keep <string.h> in stand.h and add a note about this; - Removing no longer used 'Prototype' definition. Quote from bde@: 'Cruft related to getting incomplete struct declarations within prototypes forward-declared before the structs. It doesn't mean "prototype" but only part of a prototype-related hack. No longer used.' - Replacing iaddr_t with uintptr_t; - Removing use of long double to determine alignment. Use a fixed 16 byte alignment instead; Reviewed by: bde Obtained from: DragonFlyBSD (partially) MFC after: 1 month Revision Changes Path 1.46 +2 -4 src/lib/libstand/stand.h 1.10 +4 -4 src/lib/libstand/zalloc.c 1.18 +2 -14 src/lib/libstand/zalloc_defs.h 1.12 +1 -1 src/lib/libstand/zalloc_malloc.c 1.4 +3 -3 src/lib/libstand/zalloc_mem.h 1.4 +3 -3 src/lib/libstand/zalloc_protos.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107100726.p6A7Q0WJ085656>