From 9d51d8c8f63337fe2fb3fc873ac87015da478970 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Mon, 27 Feb 2023 13:28:32 +0100 Subject: [PATCH] :wrench: fix signatures --- scripts/embed.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/embed.bash b/scripts/embed.bash index c6c7a021..a72dcdae 100644 --- a/scripts/embed.bash +++ b/scripts/embed.bash @@ -40,7 +40,7 @@ plugin() { } driver() { has_func "gwdriver" "$1" "$2" && { - header "extern void *gwdriver_$2(struct DriverData_*);" + header "extern void gwdriver_$2(struct DriverData_*);" echo " plug->driver = gwdriver_$2;" } } @@ -52,7 +52,7 @@ modini() { } modend() { has_func "gwmodend" "$1" "$2" && { - header "extern void* gwmodend_${2}(struct Gwion_ *const, void *);" + header "extern void* gwmodend_${2}(const struct Gwion_ *, void *);" echo " plug->modend = gwmodend_${2};" } } -- 2.43.0