shared: extract hash table implementation from xwayland
The hash table implementation is useful for other modules as well. Move it from xwayland to the shared code. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
This commit is contained in:
parent
f05029127c
commit
48b39d31ef
|
@ -5,6 +5,7 @@ srcs_libshared = [
|
|||
'file-util.c',
|
||||
'os-compatibility.c',
|
||||
'process-util.c',
|
||||
'hash.c',
|
||||
]
|
||||
deps_libshared = [dep_wayland_client, dep_wayland_server, dep_pixman]
|
||||
|
||||
|
|
|
@ -40,7 +40,7 @@
|
|||
#include <libweston/libweston.h>
|
||||
#include "xwayland.h"
|
||||
|
||||
#include "hash.h"
|
||||
#include "shared/hash.h"
|
||||
|
||||
struct dnd_data_source {
|
||||
struct weston_data_source base;
|
||||
|
|
|
@ -14,7 +14,6 @@ srcs_xwayland = [
|
|||
'window-manager.c',
|
||||
'selection.c',
|
||||
'dnd.c',
|
||||
'hash.c',
|
||||
]
|
||||
|
||||
dep_names_xwayland = [
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
#include "xwayland-internal-interface.h"
|
||||
|
||||
#include "shared/cairo-util.h"
|
||||
#include "hash.h"
|
||||
#include "shared/hash.h"
|
||||
#include "shared/helpers.h"
|
||||
#include "shared/xcb-xwayland.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue