From 8b79f0ed0812a3a80dd91e47112fd722bd2d6978 Mon Sep 17 00:00:00 2001 From: Emil Velikov Date: Sun, 19 Feb 2017 11:49:21 +0000 Subject: radv: make radv_resolve_entrypoint static Used only within the generated source file. Fixes: 12301c54186 ("radv: drop the RADV_CALL macro.") Signed-off-by: Emil Velikov Reviewed-by: Eduardo Lima Mitev --- src/amd/vulkan/radv_entrypoints_gen.py | 2 +- src/amd/vulkan/radv_private.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'src/amd') diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py index adab91a380d..5c3bd6f7bff 100644 --- a/src/amd/vulkan/radv_entrypoints_gen.py +++ b/src/amd/vulkan/radv_entrypoints_gen.py @@ -203,7 +203,7 @@ for layer in [ "radv" ]: print """ -void * __attribute__ ((noinline)) +static void * __attribute__ ((noinline)) radv_resolve_entrypoint(uint32_t index) { return radv_layer.entrypoints[index]; diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index f9635121712..140bf8d5ca3 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -259,7 +259,6 @@ void radv_loge_v(const char *format, va_list va); return; \ } while (0) -void *radv_resolve_entrypoint(uint32_t index); void *radv_lookup_entrypoint(const char *name); struct radv_extensions { -- cgit v1.2.3