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:
@@ -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];
|
||||||
|
@@ -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 {
|
||||||
|
Reference in New Issue
Block a user