]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: fix signatures
authorfennecdjay <fennecdjay@gmail.com>
Mon, 27 Feb 2023 12:28:32 +0000 (13:28 +0100)
committerfennecdjay <fennecdjay@gmail.com>
Mon, 27 Feb 2023 12:28:32 +0000 (13:28 +0100)
scripts/embed.bash

index c6c7a021098dab1784f394fb5b4ff6514f98f35b..a72dcdaef851a8c618abc2d85021a5b802b271a2 100644 (file)
@@ -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};"
   }
 }