mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-13 14:00:35 +01:00
std-aux: add _nm_deprecated() macro
This commit is contained in:
parent
f9040c3cca
commit
2dc5b63508
1 changed files with 1 additions and 0 deletions
|
|
@ -24,6 +24,7 @@
|
|||
#define _nm_section(s) __attribute__((__section__(s)))
|
||||
#define _nm_alignof(type) __alignof(type)
|
||||
#define _nm_alignas(type) _nm_align(_nm_alignof(type))
|
||||
#define _nm_deprecated(msg) __attribute__((__deprecated__(msg)))
|
||||
#define nm_auto(fcn) __attribute__((__cleanup__(fcn)))
|
||||
|
||||
/* This is required to make LTO working.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue