mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-12 14:50:19 +02:00
Avoid obsolescent C declarator with empty parentheses.
* libguile/foreign.c (scm_i_foreign_call): Don't declare FUNC with a declarator with empty parentheses (bug #23681).
This commit is contained in:
parent
1606312f9a
commit
b577bc90bb
1 changed files with 2 additions and 2 deletions
|
@ -966,7 +966,7 @@ scm_i_foreign_call (SCM foreign, const SCM *argv)
|
||||||
/* FOREIGN is the pair that cif_to_procedure set as the 0th element of the
|
/* FOREIGN is the pair that cif_to_procedure set as the 0th element of the
|
||||||
objtable. */
|
objtable. */
|
||||||
ffi_cif *cif;
|
ffi_cif *cif;
|
||||||
void (*func)();
|
void (*func) (void);
|
||||||
scm_t_uint8 *data;
|
scm_t_uint8 *data;
|
||||||
void *rvalue;
|
void *rvalue;
|
||||||
void **args;
|
void **args;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue