gallium/util: move u_string.h to src/util/u_string.h
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 8 Mar 2017 03:36:17 +0000 (14:36 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Sun, 12 Mar 2017 06:43:06 +0000 (17:43 +1100)
This will help us move u_queue.c here eventually and also provide
string function wrappers for anyone wishing to port disk_cache.c
to windows.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/Makefile.sources
src/gallium/auxiliary/util/u_debug_symbol.c
src/gallium/auxiliary/util/u_queue.c
src/util/Makefile.sources
src/util/u_string.h [moved from src/gallium/auxiliary/util/u_string.h with 100% similarity]

index 8d3e4a9..9063b51 100644 (file)
@@ -290,7 +290,6 @@ C_SOURCES := \
        util/u_simple_shaders.h \
        util/u_split_prim.h \
        util/u_sse.h \
-       util/u_string.h \
        util/u_suballoc.c \
        util/u_suballoc.h \
        util/u_surface.c \
index f0b0629..4b55523 100644 (file)
@@ -34,7 +34,7 @@
 
 #include "pipe/p_compiler.h"
 #include "os/os_thread.h"
-#include "u_string.h"
+#include "util/u_string.h"
 
 #include "u_debug.h"
 #include "u_debug_symbol.h"
index bb63a6b..05ffc3e 100644 (file)
@@ -26,7 +26,7 @@
 
 #include "u_queue.h"
 #include "u_memory.h"
-#include "u_string.h"
+#include "util/u_string.h"
 
 static void util_queue_killall_and_wait(struct util_queue *queue);
 
index 08ad7be..8b21702 100644 (file)
@@ -44,6 +44,7 @@ MESA_UTIL_FILES :=    \
        texcompress_rgtc_tmp.h \
        u_atomic.h \
        u_endian.h \
+       u_string.h \
        u_vector.c \
        u_vector.h \
        vk_alloc.h \