mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
Old gforth_callback_ffcall() signature looks dubious and does not match the API of `devel/libffcall' [-Wincompatible-pointer-types]: callback.h:58:35: note: expected 'callback_function_t' {aka 'void (*)(void *, struct vacall_alist *)'} but argument is of type 'void (*)(void ***, void *)' PR: 281238
11 lines
350 B
Forth
11 lines
350 B
Forth
--- fflib.fs.orig 2013-10-11 21:31:28 UTC
|
|
+++ fflib.fs
|
|
@@ -37,7 +37,7 @@ s" callback" add-lib
|
|
\c typedef void *Label;
|
|
\c typedef Label *Xt;
|
|
\c
|
|
-\c void gforth_callback_ffcall(Xt* fcall, void * alist)
|
|
+\c void gforth_callback_ffcall(void* fcall, va_alist alist)
|
|
\c {
|
|
\c #ifndef HAS_BACKLINK
|
|
\c void **gforth_pointers = saved_gforth_pointers;
|