OSDN Git Service

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 adab91a..5c3bd6f 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 f963512..140bf8d 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 {