Fixed lots of warning and made code compatible with C89 and ANSI with -pedantic.
[pforth] / csrc / pfcustom.c
index ca42f61..1cacea2 100644 (file)
@@ -77,7 +77,7 @@ Err LoadCustomFunctionTable( void )
 ** If your loader supports global initialization (most do.) then just\r
 ** create the table like this.\r
 */\r
 ** If your loader supports global initialization (most do.) then just\r
 ** create the table like this.\r
 */\r
-void *CustomFunctionTable[] =\r
+CFunc0 CustomFunctionTable[] =\r
 {\r
        (CFunc0) CTest0,\r
        (CFunc0) CTest1\r
 {\r
        (CFunc0) CTest0,\r
        (CFunc0) CTest1\r