From: Andreas Beckmann Date: Sat, 4 Dec 2021 20:51:30 +0000 (+0100) Subject: [PATCH 84/90] rename byteswap_uint32_t() to pocl_byteswap_uint32_t() X-Git-Tag: archive/raspbian/1.8-3+rpi1^2~53 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=77f614fc13479648fa76e76ca6063911d5fa8bb9;p=pocl.git [PATCH 84/90] rename byteswap_uint32_t() to pocl_byteswap_uint32_t() Gbp-Pq: Name 0084-rename-byteswap_uint32_t-to-pocl_byteswap_uint32_t.patch --- diff --git a/lib/CL/pocl_util.c b/lib/CL/pocl_util.c index 95a8411..cf0fafe 100644 --- a/lib/CL/pocl_util.c +++ b/lib/CL/pocl_util.c @@ -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 { diff --git a/lib/CL/pocl_util.h b/lib/CL/pocl_util.h index 170e7e2..92163c3 100644 --- a/lib/CL/pocl_util.h +++ b/lib/CL/pocl_util.h @@ -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 */