[PATCH 84/90] rename byteswap_uint32_t() to pocl_byteswap_uint32_t()
authorAndreas Beckmann <anbe@debian.org>
Sat, 4 Dec 2021 20:51:30 +0000 (21:51 +0100)
committerAndreas Beckmann <anbe@debian.org>
Fri, 7 Jan 2022 23:55:22 +0000 (23:55 +0000)
Gbp-Pq: Name 0084-rename-byteswap_uint32_t-to-pocl_byteswap_uint32_t.patch

lib/CL/pocl_util.c
lib/CL/pocl_util.h

index 95a841110da23d34153b9d00bf001b88802e1928..cf0fafe69cfea9da131ff76c639096e0d55dc58c 100644 (file)
@@ -167,7 +167,7 @@ pocl_restore_rm (unsigned rm)
 }
 
 uint32_t
-byteswap_uint32_t (uint32_t word, char should_swap)
+pocl_byteswap_uint32_t (uint32_t word, char should_swap)
 {
     union word_union
     {
index 170e7e26ce4774b26445f2c2cd0f11a9700d3b9c..92163c3a7d97a9908038dcb9ac1824483b9cd17a 100644 (file)
@@ -33,7 +33,8 @@
 extern "C" {
 #endif
 
-uint32_t byteswap_uint32_t (uint32_t word, char should_swap);
+POCL_EXPORT
+uint32_t pocl_byteswap_uint32_t (uint32_t word, char should_swap);
 float byteswap_float (float word, char should_swap);
 
 /* set rounding mode */