From: fennecdjay Date: Mon, 27 Feb 2023 12:28:32 +0000 (+0100) Subject: :wrench: fix signatures X-Git-Tag: nightly~195 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9d51d8c8f63337fe2fb3fc873ac87015da478970;p=gwion.git :wrench: fix signatures --- 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};" } }