mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 12:00:17 +01:00
shared: add _nm_packed macro for __attribute__((packed))
(cherry picked from commit 9a1e0b97da)
This commit is contained in:
parent
a0b561eda3
commit
98766a96f2
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