This is a suggestion from Daniel Berrange, made during this conversation[0]. As mentioned in the conversation, apart from replacing strncmp() with g_str_equal(), we also should be able to get "make syntax-check" to block use of strcmp and friends to. [0]: https://www.redhat.com/archives/libosinfo/2016-May/msg00170.html
master: fc431d26c b7faaf96c 3ff066cb5 e22e15189