[uim-commit] r245 - trunk/uim

yamaken@freedesktop.org yamaken@freedesktop.org
Mon Jan 10 23:53:44 PST 2005


Author: yamaken
Date: 2005-01-10 23:53:39 -0800 (Mon, 10 Jan 2005)
New Revision: 245

Modified:
   trunk/uim/uim-scm.c
Log:
* uim/uim-scm.c
  - (siod_init_subr): Fix wrong type of 3rd argument


Modified: trunk/uim/uim-scm.c
===================================================================
--- trunk/uim/uim-scm.c	2005-01-11 07:16:23 UTC (rev 244)
+++ trunk/uim/uim-scm.c	2005-01-11 07:53:39 UTC (rev 245)
@@ -57,7 +57,7 @@
 #include "uim-compat-scm.c"
 #endif
 
-static void siod_init_subr(char *name, long type, uim_lisp (*fcn)(void));
+static void siod_init_subr(char *name, long type, SUBR_FUNC fcn);
 
 static uim_lisp true_sym;
 static uim_lisp false_sym;
@@ -394,12 +394,12 @@
 }
 
 static void
-siod_init_subr(char *name, long type, uim_lisp (*fcn)(void))
+siod_init_subr(char *name, long type, SUBR_FUNC fcn)
 {
   uim_lisp stack_start;
 
   uim_scm_gc_protect_stack(&stack_start);
-  init_subr(name, type, (SUBR_FUNC)fcn);
+  init_subr(name, type, fcn);
   uim_scm_gc_unprotect_stack(&stack_start);
 }
 



More information about the Uim-commit mailing list