From owner-cvs-src-old@FreeBSD.ORG Sun Jul 10 07:26:00 2011 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 894F8106566C for ; Sun, 10 Jul 2011 07:26:00 +0000 (UTC) (envelope-from avatar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 75F078FC12 for ; Sun, 10 Jul 2011 07:26:00 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id p6A7Q0lK085657 for ; Sun, 10 Jul 2011 07:26:00 GMT (envelope-from avatar@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id p6A7Q0WJ085656 for cvs-src-old@freebsd.org; Sun, 10 Jul 2011 07:26:00 GMT (envelope-from avatar@repoman.freebsd.org) Message-Id: <201107100726.p6A7Q0WJ085656@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to avatar@repoman.freebsd.org using -f From: Tai-hwa Liang Date: Sun, 10 Jul 2011 07:25:34 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libstand stand.h zalloc.c zalloc_defs.h zalloc_malloc.c zalloc_mem.h zalloc_protos.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2011 07:26:00 -0000 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 and also in . Though the correct way to define NULL in FreeBSD is to include , other parts of libstand still require to build; therefore, we keep 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