Magellan Linux

Contents of /trunk/dgs/patches/dgs-0.5.10-gcc-3.4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 144 - (show annotations) (download)
Tue May 8 20:06:05 2007 UTC (17 years, 5 months ago) by niro
File size: 870 byte(s)
-import

1 --- DPS/clients/makepsres/makepsres.c.old 2004-04-22 19:48:50.568331512 +0100
2 +++ DPS/clients/makepsres/makepsres.c 2004-04-22 19:50:34.076595864 +0100
3 @@ -124,8 +124,6 @@
4
5 char *program;
6
7 -extern char *malloc(), *realloc();
8 -
9 #if !defined(__NetBSD__) && !defined(__FreeBSD__)
10 # if !defined(__GLIBC__)
11 extern char *sys_errlist[];
12 --- DPS/clients/pswrap/psw.c.old 2004-04-22 19:54:13.609221832 +0100
13 +++ DPS/clients/pswrap/psw.c 2004-04-22 19:54:39.149339144 +0100
14 @@ -1906,7 +1906,6 @@
15
16 char *psw_malloc(s) int s; {
17 char *temp;
18 - extern char *malloc();
19 if ((temp = malloc((unsigned) s)) == NULL)
20 AllocFailure();
21 return(temp);
22 @@ -1914,7 +1913,6 @@
23
24 char *psw_calloc(n,s) int n,s; {
25 char *temp;
26 - extern char *calloc();
27 if ((temp = calloc((unsigned) n, (unsigned) s)) == NULL)
28 AllocFailure();
29 return(temp);