cvs commit: src/sys/net80211 ieee80211_node.c

Nate Lawson nate at root.org
Sat Apr 3 14:39:05 PST 2004


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


More information about the cvs-src mailing list