mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-21 19:20:43 +02:00
shared: add NM_CMP_DIRECT_STRCMP() macro
This commit is contained in:
parent
6d30021fee
commit
a9b15bde3c
1 changed files with 3 additions and 0 deletions
|
|
@ -202,6 +202,9 @@ nm_ip4_addr_is_localhost (in_addr_t addr4)
|
|||
#define NM_CMP_DIRECT_MEMCMP(a, b, size) \
|
||||
NM_CMP_RETURN (memcmp ((a), (b), (size)))
|
||||
|
||||
#define NM_CMP_DIRECT_STRCMP(a, b) \
|
||||
NM_CMP_RETURN_DIRECT (strcmp ((a), (b)))
|
||||
|
||||
#define NM_CMP_DIRECT_STRCMP0(a, b) \
|
||||
NM_CMP_RETURN_DIRECT (nm_strcmp0 ((a), (b)))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue