mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 20:08:04 +02:00
parent
cdfb762880
commit
a5c465848a
1 changed files with 11 additions and 0 deletions
|
|
@ -744,6 +744,17 @@ NM_G_ERROR_MSG (GError *error)
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
#define NM_SWAP(a, b) \
|
||||
G_STMT_START { \
|
||||
typeof (a) _tmp; \
|
||||
\
|
||||
_tmp = (a); \
|
||||
(a) = (b); \
|
||||
(b) = _tmp; \
|
||||
} G_STMT_END
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
static inline gboolean
|
||||
_NM_IN_STRSET_streq (const char *x, const char *s)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue