Re: [PATCH nft 2/2] include: include <stdlib.h> in <nft.h>

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Sep 08, 2023 at 07:32:20PM +0200, Thomas Haller wrote:
> It provides malloc()/free(), which is so basic that we need it
> everywhere. Include via <nft.h>.
> 
> The ultimate purpose is to define more things in <nft.h>. While it has
> not corresponding C sources, <nft.h> can contain macros and static
> inline functions, and is a good place for things that we shall have
> everywhere. Since <stdlib.h> provides malloc()/free() and size_t, that
> is a very basic dependency, that will be needed for that.

Also applied, thanks



[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux