Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Apr 2004 14:39:06 -0800 (PST)
From:      Nate Lawson <nate@root.org>
To:        Sam Leffler <sam@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net80211 ieee80211_node.c
Message-ID:  <20040403143811.H11430@root.org>
In-Reply-To: <20040402230239.23FA616A4F4@hub.freebsd.org>
References:  <20040402230239.23FA616A4F4@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 2 Apr 2004, Sam Leffler wrote:
> sam         2004/04/02 15:02:24 PST
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/net80211         ieee80211_node.c
>   Log:
>   replace explicit malloc/free with MALLOC/FREE for portability
>
>   Obtained from:  madwifi
>
>   Revision  Changes    Path
>   1.17      +5 -3      src/sys/net80211/ieee80211_node.c

Strange, sys/malloc.h says these are deprecated:

/*
 * Deprecated macro versions of not-quite-malloc() and free().
 */
#define MALLOC(space, cast, size, type, flags) \
        ((space) = (cast)malloc((u_long)(size), (type), (flags)))
#define FREE(addr, type) free((addr), (type))

-Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040403143811.H11430>