macros: simplify NM_IN_SET() macro
authorThomas Haller <thaller@redhat.com>
Thu, 11 Feb 2016 16:24:33 +0000 (17:24 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 11 Feb 2016 16:54:38 +0000 (17:54 +0100)
commit1211b5b631cfa95c861b0067323beab0239a9ad5
tree3aa0ffa81d594bc4c35e7b12f7fc75e7342f216d
parentb73c0e2f6ddf1d5d25efca3b2910d53848055701
macros: simplify NM_IN_SET() macro

Also fix NM_IN_SET_SE() to guaranteed return 0 or 1.
libnm-core/tests/test-general.c
shared/nm-macros-internal.h