File: gcc-15.diff

package info (click to toggle)
xjdic 24-13
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,080 kB
  • sloc: ansic: 23,275; makefile: 191; sh: 55
file content (237 lines) | stat: -rw-r--r-- 5,551 bytes parent folder | download
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
Index: xjdic-24/xjdcomm.c
===================================================================
--- xjdic-24.orig/xjdcomm.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/xjdcomm.c	2025-09-29 20:56:37.313573734 +0200
@@ -107,7 +107,7 @@
 								*/
 FILE  *xfopen(char *file_name, char *file_mode, int *xfilelen)
 {
-	FILE *fx, *fopen();
+	FILE *fx;
 
 	extern char DicDir[];
 	char *fnbuff;
@@ -166,7 +166,7 @@
 	int ft,fn;
 	extern int thisdic;
 	extern char DicDir[];
-	FILE *fm,*fopen();
+	FILE *fm;
 
 #ifdef XJDDIC
 	extern unsigned char Dnamet[10][100],XJDXnamet[10][100];
Index: xjdic-24/xjdrad.c
===================================================================
--- xjdic-24.orig/xjdrad.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/xjdrad.c	2025-09-29 20:56:37.313573734 +0200
@@ -67,7 +67,7 @@
 void RadDisp()
 {
 	int i,j,k,l,flen;
-	FILE *fk,*fopen();
+	FILE *fk;
 	unsigned char *ptr;
 
 	fk = xfopen(RKname,"r",&flen);
@@ -104,7 +104,7 @@
 								*/
 FILE  *xfopen(char *file_name, char *file_mode, int *xfilelen)
 {
-	FILE *fx, *fopen();
+	FILE *fx;
 
 	char *fnbuff;
 
@@ -151,7 +151,7 @@
 {
 	unsigned char xjdicdir[128],rcstr[80],*rcwd;
 	int ft,fn;
-	FILE *fm,*fopen();
+	FILE *fm;
 
 	xjdicdir[0] = '\0';
 	if (strlen(ENVname) > 2)
Index: xjdic-24/xjdservcomm.c
===================================================================
--- xjdic-24.orig/xjdservcomm.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/xjdservcomm.c	2025-09-29 20:56:37.313573734 +0200
@@ -65,7 +65,7 @@
 void SeekErr(int iores);
 
 #ifdef MMAP
-FILE *fpd[10],*fpi[10],*fopen();
+FILE *fpd[10],*fpi[10];
 int fdd[10],fdi[10];
 #endif
 
@@ -84,7 +84,7 @@
 int MAXDIC,MAXJDX;  /* formerly defines, now set dynamically */
 int MAXDICTAB,MAXJDXTAB; 
 int novbmax = NOVB,vbread = 0;
-FILE *fpd[10],*fpi[10],*fopen();
+FILE *fpd[10],*fpi[10];
 
 /* int TRIGGER = FALSE;
 int indordic;
@@ -236,7 +236,7 @@
 	int diclenx;
 
 	extern int jiver;
-	FILE *fpd,*fopen();
+	FILE *fpd;
 
 	dichits[dn] = 0;
 	dicmiss[dn] = 0;
@@ -266,7 +266,7 @@
 	/* struct stat *buf;  no longer used here  */
 
 	extern int jiver;
-	FILE *fpd,*fopen();
+	FILE *fpd;
 
 	printf("Loading Dictionary: %d [%s]\n",dn,DicName(dn));
   	fpd = xfopen(Dnamet[dn],"rb", &xfilelen);
Index: xjdic-24/xjdxgen.c
===================================================================
--- xjdic-24.orig/xjdxgen.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/xjdxgen.c	2025-09-29 20:56:37.313573734 +0200
@@ -78,7 +78,7 @@
 int argc;
 unsigned char **argv;
 {
-  FILE *fp,*fopen();
+  FILE *fp;
   unsigned long possav,schi,diclen,indlen;
   int i,inwd,cstrp,saving,isc,nodread;
   int arg_c;
@@ -343,7 +343,7 @@
 {
 	unsigned char xjdicdir[128],rcstr[80],*rcwd;
 	int iex;
-	FILE *fm,*fopen();
+	FILE *fm;
 
 	iex = 0;
 	xjdicdir[0] = '\0';
Index: xjdic-24/exjdxgen.c
===================================================================
--- xjdic-24.orig/exjdxgen.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/exjdxgen.c	2025-09-29 20:56:37.313573734 +0200
@@ -70,7 +70,7 @@
 int argc;
 unsigned char **argv;
 {
-  FILE *fp,*fopen();
+  FILE *fp;
   unsigned long schi,diclen,indlen;
   int i,inwd,saving,nodread;
   unsigned char c;
Index: xjdic-24/makekanjstroke.c
===================================================================
--- xjdic-24.orig/makekanjstroke.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/makekanjstroke.c	2025-09-29 20:56:37.313573734 +0200
@@ -2,7 +2,7 @@
 #include <string.h>
 #include <stdlib.h>
 
-FILE *fi,*fo,*fopen();
+FILE *fi,*fo;
 unsigned char instr[1000],*ptr;
 int i;
 
Index: xjdic-24/xjdfrontend.c
===================================================================
--- xjdic-24.orig/xjdfrontend.c	2025-09-29 20:56:37.325573723 +0200
+++ xjdic-24/xjdfrontend.c	2025-09-29 20:57:42.045509124 +0200
@@ -68,7 +68,7 @@
 int gdicnos[10],gdicmax=0,GDmode=FALSE,gdiclen;
 int GDALLmode=FALSE;
 
-FILE *fe, *fex, *fclip, *fopen();
+FILE *fe, *fex, *fclip;
 
 #ifdef XJDCLSERV
 extern int portno;
@@ -302,7 +302,7 @@
 #ifdef WINSIZE_IOCTL_AVAILABLE
 	struct winsize window;
 
-	signal(SIGWINCH, NewWinSize);
+	signal(SIGWINCH, (__sighandler_t)NewWinSize);
 	ioctl(0,TIOCGWINSZ,&window);
 	MaxX = window.ws_col;
 	MaxX--;
@@ -331,7 +331,7 @@
 void KSLoad()
 {
 	int i,j,k,lno;
-	FILE *fk,*fopen();
+	FILE *fk;
 
 	fk = xfopen(KSname,"r",&xfilelen);
 	lno=0;
@@ -356,7 +356,7 @@
 void RadLoad()
 {
 	int i,j,k;
-	FILE *fk,*fopen();
+	FILE *fk;
 
 	fk = xfopen(RKname,"r", &xfilelen);
 	k = xfilelen/2;
@@ -556,7 +556,7 @@
 void LoadKana()
 {
 	int i,ih,mode;
-	FILE *fp,*fopen();
+	FILE *fp;
 	unsigned char LKin[80],*ptr;
 
 	for (i = 0; i < NRKANA*2; i++) strcpy(kanatab[i]," ");
@@ -992,8 +992,8 @@
 {
 	unsigned char tempstr[512],*vptr;
 	int vmode,i;
-	FILE *fi,*fopen();
-	
+	FILE *fi;
+
 	for (i = 0;i< VMAX;i++)
 	{
 		vdicf[i][0] = 0;
@@ -1733,7 +1733,7 @@
 {
 	int i,errf;
 	unsigned char rstr[20];
-	FILE *fpr, *fopen();
+	FILE *fpr;
 
 	fpr = xfopen(Rname,"r", &xfilelen);
 	i = 0;
@@ -1761,7 +1761,7 @@
 /*=====DispLic======display GPL ==============================*/
 void DispLic()
 {
-	FILE *flic,*fopen();
+	FILE *flic;
 
 	flic = xfopen(GPL_File,"r", &xfilelen);
 	DRow = 1;
@@ -1785,7 +1785,7 @@
 
 	int errf,j;
 	unsigned char rstr[20];
-	FILE *fpr, *fopen();
+	FILE *fpr;
 
 	fpr = xfopen(Rname,"r", &xfilelen);
 	printf("\n RADICAL DISPLAY \n");
@@ -2123,7 +2123,7 @@
 /*=====RadDisp===Display Radical Data==============================*/
 void RadDisp()
 {
-	FILE *fk,*fopen();
+	FILE *fk;
 	int j,k,l,n;
 	unsigned char *ptr;