From 3977873bc0b5fb94bcb366adba5eca526f66facf Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Wed, 10 Sep 2008 20:07:17 +0000 Subject: [PATCH] fix prototype (foo() is not a prototype, use foo(void) instead). 2008-09-10 Michael Natterer * plug-ins/script-fu/tinyscheme/scheme.h: fix prototype (foo() is not a prototype, use foo(void) instead). svn path=/trunk/; revision=26919 --- ChangeLog | 5 +++++ plug-ins/script-fu/tinyscheme/scheme.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 896fbe6f82..f0b60fea1e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-09-10 Michael Natterer + + * plug-ins/script-fu/tinyscheme/scheme.h: fix prototype (foo() is + not a prototype, use foo(void) instead). + 2008-09-10 Tor Lillqvist * app/gui/gui-unique.c: Untabify. diff --git a/plug-ins/script-fu/tinyscheme/scheme.h b/plug-ins/script-fu/tinyscheme/scheme.h index 7ca1669286..2dced6849d 100644 --- a/plug-ins/script-fu/tinyscheme/scheme.h +++ b/plug-ins/script-fu/tinyscheme/scheme.h @@ -130,7 +130,7 @@ SCHEME_EXPORT void ts_output_string (TsOutputType type, int len); #endif -SCHEME_EXPORT scheme *scheme_init_new(); +SCHEME_EXPORT scheme *scheme_init_new(void); SCHEME_EXPORT scheme *scheme_init_new_custom_alloc(func_alloc malloc, func_dealloc free); SCHEME_EXPORT int scheme_init(scheme *sc); SCHEME_EXPORT int scheme_init_custom_alloc(scheme *sc, func_alloc, func_dealloc);