On Wed, Aug 23, 2017 at 08:45:19AM +0800, JingPiao Chen wrote: > * tests/nlattr_rtmsg.c (LWTUNNEL_ENCAP_NONE, > RTA_ENCAP_TYPE): New macros. > (main): Check decoding of RTA_DST, RTA_OIF, RTA_METRICS, > RTA_MULTIPATH, RTA_CACHEINFO, RTA_MFC_STATS, > RTA_VIA and RTA_ENCAP_TYPE. [...] > + static struct nlattr nla = { > + .nla_type = RTAX_LOCK, > + .nla_len = sizeof(nla) > + };
No need for "static" here since there is no "const". -- ldv
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Strace-devel mailing list Strace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/strace-devel