radv: make radv_resolve_entrypoint static
authorEmil Velikov <emil.l.velikov@gmail.com>
Sun, 19 Feb 2017 11:49:21 +0000 (11:49 +0000)
committerEmil Velikov <emil.l.velikov@gmail.com>
Tue, 21 Feb 2017 18:31:16 +0000 (18:31 +0000)
Used only within the generated source file.

Fixes: 12301c54186 ("radv: drop the RADV_CALL macro.")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
src/amd/vulkan/radv_entrypoints_gen.py
src/amd/vulkan/radv_private.h

index adab91a380d026151780d5ddb682ae3e97bbd728..5c3bd6f7bffb5a034df19fb96dc6c79f35f280d1 100644 (file)
@@ -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];
index f9635121712e4d3d9e1ff494f8bda23820e95af6..140bf8d5ca3b715b7ab723338f026a2a5e1306a9 100644 (file)
@@ -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 {