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

(cherry picked from commit 9a1e0b97da)
This commit is contained in:
Thomas Haller 2016-04-06 10:16:06 +02:00
parent a0b561eda3
commit 98766a96f2

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: