shared: add _nm_packed macro for __attribute__((packed))

This commit is contained in:
Thomas Haller 2016-04-06 10:16:06 +02:00
parent 966fcdba1b
commit 9a1e0b97da

View file

@ -26,7 +26,9 @@
/********************************************************/
#define nm_auto(fcn) __attribute ((cleanup(fcn)))
#define _nm_packed __attribute__ ((packed))
#define nm_auto(fcn) __attribute__ ((cleanup(fcn)))
/**
* nm_auto_free: