Re: Unused macro

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

 



Alejandro Colomar (man-pages) <alx.manpages@xxxxxxxxx> wrote:
> I was updating the includes on some manual pages, when I found that a
> macro used ARRAY_SIZE() without including a header that defines it.
> That surprised me, because it would more than likely result in a compile
> error, but of course, the macro wasn't being used:
> 
> .../linux$ grep -rn SCTP_CHUNKMAP_IS_ALL_SET
> include/uapi/linux/netfilter/xt_sctp.h:80:#define
> SCTP_CHUNKMAP_IS_ALL_SET(chunkmap) \
> .../linux$

This is an UAPI header, this macro is used by userspace software, e.g.
iptables.



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

  Powered by Linux