Skip to content
  • Thomas Haller's avatar
    shared: make nm_streq() and nm_streq0() inline functions · 2fa7a7c2
    Thomas Haller authored
    There is no advantage in having these as macros. Make them
    inline functions, compiler should be able to decide that they
    are in fact inlinable.
    
    Also, don't call g_strcmp0() for nm_streq0(). It means we first
    have to call glib function, only to call a glibc function. No need
    for this abstraction.
    2fa7a7c2