radv: make radv_resolve_entrypoint static

Used only within the generated source file.

Fixes: 12301c5418 ("radv: drop the RADV_CALL macro.")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eduardo Lima Mitev <elima@igalia.com>
This commit is contained in:
Emil Velikov
2017-02-19 11:49:21 +00:00
parent 320561bd83
commit 8b79f0ed08
2 changed files with 1 additions and 2 deletions

View File

@@ -203,7 +203,7 @@ for layer in [ "radv" ]:
print """ print """
void * __attribute__ ((noinline)) static void * __attribute__ ((noinline))
radv_resolve_entrypoint(uint32_t index) radv_resolve_entrypoint(uint32_t index)
{ {
return radv_layer.entrypoints[index]; return radv_layer.entrypoints[index];

View File

@@ -259,7 +259,6 @@ void radv_loge_v(const char *format, va_list va);
return; \ return; \
} while (0) } while (0)
void *radv_resolve_entrypoint(uint32_t index);
void *radv_lookup_entrypoint(const char *name); void *radv_lookup_entrypoint(const char *name);
struct radv_extensions { struct radv_extensions {