blob: 15413dfb577cf1cd844b44d8286c9a1f102b1b2c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
--- lib/x11/X.c.orig Wed Sep 5 16:26:18 2001
+++ lib/x11/X.c Tue Jan 22 11:18:50 2002
@@ -5526,8 +5526,8 @@
#ifdef __cplusplus
extern "C" {
#endif
-DLLEXPORT(void) initModule(HugsAPI3 *);
-DLLEXPORT(void) initModule(HugsAPI3 *hugsAPI) {
+DLLEXPORT(void) _initModule(HugsAPI3 *);
+DLLEXPORT(void) _initModule(HugsAPI3 *hugsAPI) {
hugs = hugsAPI;
hugs->registerPrims(&prims);
}
diff -Naur graphics-2.0.4.orig/lib/x11/Xlib.c graphics-2.0.4/lib/x11/Xlib.c
--- lib/x11/Xlib.c.orig Wed Sep 5 16:26:18 2001
+++ lib/x11/Xlib.c Tue Jan 22 11:19:05 2002
@@ -4349,8 +4349,8 @@
#ifdef __cplusplus
extern "C" {
#endif
-DLLEXPORT(void) initModule(HugsAPI3 *);
-DLLEXPORT(void) initModule(HugsAPI3 *hugsAPI) {
+DLLEXPORT(void) _initModule(HugsAPI3 *);
+DLLEXPORT(void) _initModule(HugsAPI3 *hugsAPI) {
hugs = hugsAPI;
hugs->registerPrims(&prims);
}
diff -Naur graphics-2.0.4.orig/lib/x11/Xlib_StdDIS.c graphics-2.0.4/lib/x11/Xlib_StdDIS.c
--- lib/x11/Xlib_StdDIS.c.orig Wed Sep 5 16:26:18 2001
+++ lib/x11/Xlib_StdDIS.c Tue Jan 22 11:17:48 2002
@@ -65,8 +65,8 @@
#ifdef __cplusplus
extern "C" {
#endif
-DLLEXPORT(void) initModule(HugsAPI3 *);
-DLLEXPORT(void) initModule(HugsAPI3 *hugsAPI) {
+DLLEXPORT(void) _initModule(HugsAPI3 *);
+DLLEXPORT(void) _initModule(HugsAPI3 *hugsAPI) {
hugs = hugsAPI;
hugs->registerPrims(&prims);
}
|