summarylogtreecommitdiffstats
path: root/warnings2.patch
blob: d1ea88974d06da7d04dc291a519f3c3bfb921e95 (plain)
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
This patch heals some more warnings and is not adopted from Debian.

--- a/generic/snack.c	2024-07-20 23:23:45.799999764 +0200
+++ b/generic/snack.c	2024-07-20 23:24:16.186666472 +0200
@@ -203,9 +203,9 @@
 int littleEndian = 0;
 
 #ifdef __cplusplus
-extern "C" SnackStubs *snackStubs;
+extern "C" SnackStubs snackStubs;
 #else
-extern SnackStubs *snackStubs;
+extern SnackStubs snackStubs;
 #endif
 
 extern Tcl_HashTable *filterHashTable;

--- a/generic/sound.c	2024-07-21 00:30:05.536666483 +0200
+++ b/generic/sound.c	2024-07-21 00:30:27.256666488 +0200
@@ -120,9 +120,9 @@
 int littleEndian = 0;
 
 #ifdef __cplusplus
-extern "C" SnackStubs *snackStubs;
+extern "C" SnackStubs snackStubs;
 #else
-extern SnackStubs *snackStubs;
+extern SnackStubs snackStubs;
 #endif
 
 extern Tcl_HashTable *filterHashTable;