mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-04 04:50:30 +01:00
shared: add _nm_packed macro for __attribute__((packed))
This commit is contained in:
parent
966fcdba1b
commit
9a1e0b97da
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue