mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-17 06:34:08 +00:00
update makefile. fix c89
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@682 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/* $Id$ */
|
||||
/* This file gets included by backend */
|
||||
#define CALL(NAME) \
|
||||
static int _MwLL##NAME##CallInit(void) { \
|
||||
int MwLL##NAME##CallInit(void) { \
|
||||
int st; \
|
||||
\
|
||||
if((st = MwLL##NAME##CallInitImpl()) != 0) return st; \
|
||||
@@ -53,5 +53,4 @@
|
||||
MwLLMakeToolWindow = MwLLMakeToolWindowImpl; \
|
||||
\
|
||||
return 0; \
|
||||
} \
|
||||
int (*MwLL##NAME##CallInit)(void) = _MwLL##NAME##CallInit;
|
||||
}
|
||||
|
||||
@@ -606,14 +606,13 @@ MwWidget MwGetParent(MwWidget handle) {
|
||||
}
|
||||
|
||||
typedef int (*call_t)(void);
|
||||
int MwLibraryInit(void) {
|
||||
#ifdef USE_X11
|
||||
extern call_t MwLLX11CallInit;
|
||||
int MwLLX11CallInit(void);
|
||||
#endif
|
||||
#ifdef USE_GDI
|
||||
extern call_t MwLLGDICallInit;
|
||||
int MwLLGDICallInit(void);
|
||||
#endif
|
||||
|
||||
int MwLibraryInit(void) {
|
||||
call_t calls[] = {
|
||||
#ifdef USE_X11
|
||||
MwLLX11CallInit,
|
||||
|
||||
Reference in New Issue
Block a user