mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-31 23:00:11 +01:00
shared: add _nm_pure/_nm_const define for __attribute__ ((pure))/((const))
This commit is contained in:
parent
926ba925ec
commit
5847e70fd6
1 changed files with 2 additions and 0 deletions
|
|
@ -28,6 +28,8 @@
|
|||
|
||||
#define _nm_packed __attribute__ ((packed))
|
||||
#define _nm_unused __attribute__ ((unused))
|
||||
#define _nm_pure __attribute__ ((pure))
|
||||
#define _nm_const __attribute__ ((const))
|
||||
|
||||
#define nm_auto(fcn) __attribute__ ((cleanup(fcn)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue