glibcompat: remove g_direct_equal shim
commit335c5a78bbf2e4a5c2346b9fe97c55bceb8d25bc
authorYury V. Zaytsev <yury@shurup.com>
Sun, 2 Jun 2024 20:16:28 +0000 (2 22:16 +0200)
committerYury V. Zaytsev <yury@shurup.com>
Mon, 3 Jun 2024 14:18:12 +0000 (3 16:18 +0200)
tree79b01d66bcdee7dcad0bf60bddd72b404758ae97
parentbda4e480d2c14ea29310663791300302a2748c6a
glibcompat: remove g_direct_equal shim

This function is present at least in glib-2.43.92:

../../lib/glibcompat.c:69:1: error: static declaration of 'g_direct_equal' follows non-static declaration
   69 | g_direct_equal (gconstpointer v1, gconstpointer v2)
      | ^~~~~~~~~~~~~~
In file included from /home/zaytsev/opt/glib/include/glib-2.0/glib.h:50,
                 from ../../lib/global.h:10,
                 from ../../lib/glibcompat.c:36:
/home/zaytsev/opt/glib/include/glib-2.0/glib/ghash.h:180:10: note: previous declaration of 'g_direct_equal' was here
  180 | gboolean g_direct_equal (gconstpointer  v1,
      |          ^~~~~~~~~~~~~~

Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
lib/glibcompat.c