[gimp] Eliminated compiler warnings (scheme.c). Fixed whitespace (dynload.c).
- From: Kevin Cozens <kcozens src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Eliminated compiler warnings (scheme.c). Fixed whitespace (dynload.c).
- Date: Wed, 2 Sep 2009 02:26:06 +0000 (UTC)
commit 4acd4317a7c91b6bb4d4eab804d46a2534094e1a
Author: Kevin Cozens <kcozens cvs gnome org>
Date: Tue Sep 1 21:52:11 2009 -0400
Eliminated compiler warnings (scheme.c). Fixed whitespace (dynload.c).
plug-ins/script-fu/tinyscheme/dynload.c | 10 ++--------
plug-ins/script-fu/tinyscheme/scheme.c | 4 ++--
2 files changed, 4 insertions(+), 10 deletions(-)
---
diff --git a/plug-ins/script-fu/tinyscheme/dynload.c b/plug-ins/script-fu/tinyscheme/dynload.c
index 8963bb5..6440a13 100644
--- a/plug-ins/script-fu/tinyscheme/dynload.c
+++ b/plug-ins/script-fu/tinyscheme/dynload.c
@@ -33,8 +33,8 @@ typedef void (*FARPROC)();
LPVOID msg_buf;
FormatMessage(FORMAT_MESSAGE_FROM_SYSTEM | FORMAT_MESSAGE_ALLOCATE_BUFFER,
- NULL, GetLastError(), 0,
- (LPTSTR)&msg_buf, 0, NULL);
+ NULL, GetLastError(), 0,
+ (LPTSTR)&msg_buf, 0, NULL);
fprintf(stderr, "scheme load-extension: %s: %s", additional_message, msg_buf);
LocalFree(msg_buf);
}
@@ -135,9 +135,3 @@ static void make_init_fn(const char *name, char *init_fn) {
strcpy(init_fn,"init_");
strcat(init_fn,p);
}
-
-
-
-
-
-
diff --git a/plug-ins/script-fu/tinyscheme/scheme.c b/plug-ins/script-fu/tinyscheme/scheme.c
index 5ea467c..145225f 100644
--- a/plug-ins/script-fu/tinyscheme/scheme.c
+++ b/plug-ins/script-fu/tinyscheme/scheme.c
@@ -4936,7 +4936,7 @@ void scheme_register_foreign_func_list(scheme * sc,
pointer scheme_apply0(scheme *sc, const char *procname)
{ return scheme_eval(sc, cons(sc,mk_symbol(sc,procname),sc->NIL)); }
-void save_from_C_call(scheme *sc)
+static void save_from_C_call(scheme *sc)
{
pointer saved_data =
cons(sc,
@@ -4951,7 +4951,7 @@ void save_from_C_call(scheme *sc)
dump_stack_reset(sc);
}
-void restore_from_C_call(scheme *sc)
+static void restore_from_C_call(scheme *sc)
{
car(sc->sink) = caar(sc->c_nest);
sc->envir = cadar(sc->c_nest);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]