SOURCES: vnc-malloc.patch (NEW) - removed bad declarations of malloc

witekfl witekfl at pld-linux.org
Thu Dec 21 18:06:43 CET 2006


Author: witekfl                      Date: Thu Dec 21 17:06:43 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- removed bad declarations of malloc

---- Files affected:
SOURCES:
   vnc-malloc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/vnc-malloc.patch
diff -u /dev/null SOURCES/vnc-malloc.patch:1.1
--- /dev/null	Thu Dec 21 18:06:43 2006
+++ SOURCES/vnc-malloc.patch	Thu Dec 21 18:06:38 2006
@@ -0,0 +1,30 @@
+--- vnc-3.3.7-unixsrc/Xvnc/lib/Xau/AuRead.c.old	2006-12-21 11:11:08.000000000 +0100
++++ vnc-3.3.7-unixsrc/Xvnc/lib/Xau/AuRead.c	2006-12-21 11:12:20.000000000 +0100
+@@ -49,7 +49,7 @@
+ FILE	*file;
+ {
+     unsigned short  len;
+-    char	    *data, *malloc ();
++    char	    *data;
+ 
+     if (read_short (&len, file) == 0)
+ 	return 0;
+@@ -76,7 +76,6 @@
+ {
+     Xauth   local;
+     Xauth   *ret;
+-    char    *malloc ();
+ 
+     if (read_short (&local.family, auth_file) == 0)
+ 	return 0;
+--- vnc-3.3.7-unixsrc/Xvnc/lib/Xau/AuWrite.c.old	2006-12-21 11:12:37.000000000 +0100
++++ vnc-3.3.7-unixsrc/Xvnc/lib/Xau/AuWrite.c	2006-12-21 11:12:53.000000000 +0100
+@@ -61,8 +61,6 @@
+ FILE	*auth_file;
+ Xauth	*auth;
+ {
+-    char    *malloc ();
+-
+     if (write_short (auth->family, auth_file) == 0)
+ 	return 0;
+     if (write_counted_string (auth->address_length, auth->address, auth_file) == 0)
================================================================


More information about the pld-cvs-commit mailing list