summaryrefslogtreecommitdiff
path: root/tightvnc/tightvnc-gcc3.4.patch
blob: 5ba1c1b4c26dd5e4961d910e850d27718893c85a (plain)
    1 diff -urN vnc_unixsrc.orig/Xvnc/include/Xpoll.h vnc_unixsrc/Xvnc/include/Xpoll.h
    2 --- vnc_unixsrc.orig/Xvnc/include/Xpoll.h	2002-04-30 08:07:30.000000000 -0500
    3 +++ vnc_unixsrc/Xvnc/include/Xpoll.h	2005-05-05 08:16:42.269634912 -0500
    4 @@ -65,6 +65,8 @@
    5  #define NBBY	8		/* number of bits in a byte */
    6  #endif
    7  
    8 +#define fds_bits __fds_bits
    9 +
   10  #ifndef NFDBITS
   11  #define NFDBITS (sizeof(fd_mask) * NBBY)	/* bits per mask */
   12  #endif
   13 diff -urN vnc_unixsrc.orig/Xvnc/lib/Xau/AuRead.c vnc_unixsrc/Xvnc/lib/Xau/AuRead.c
   14 --- vnc_unixsrc.orig/Xvnc/lib/Xau/AuRead.c	2000-06-11 07:00:52.000000000 -0500
   15 +++ vnc_unixsrc/Xvnc/lib/Xau/AuRead.c	2005-05-05 08:15:18.355391816 -0500
   16 @@ -49,7 +49,7 @@
   17  FILE	*file;
   18  {
   19      unsigned short  len;
   20 -    char	    *data, *malloc ();
   21 +    char	    *data;
   22  
   23      if (read_short (&len, file) == 0)
   24  	return 0;
   25 @@ -76,7 +76,6 @@
   26  {
   27      Xauth   local;
   28      Xauth   *ret;
   29 -    char    *malloc ();
   30  
   31      if (read_short (&local.family, auth_file) == 0)
   32  	return 0;
   33 diff -urN vnc_unixsrc.orig/Xvnc/lib/Xau/AuWrite.c vnc_unixsrc/Xvnc/lib/Xau/AuWrite.c
   34 --- vnc_unixsrc.orig/Xvnc/lib/Xau/AuWrite.c	2000-06-11 07:00:52.000000000 -0500
   35 +++ vnc_unixsrc/Xvnc/lib/Xau/AuWrite.c	2005-05-05 08:15:40.295056480 -0500
   36 @@ -61,8 +61,6 @@
   37  FILE	*auth_file;
   38  Xauth	*auth;
   39  {
   40 -    char    *malloc ();
   41 -
   42      if (write_short (auth->family, auth_file) == 0)
   43  	return 0;
   44      if (write_counted_string (auth->address_length, auth->address, auth_file) == 0)
   45 diff -urN vnc_unixsrc.orig/Xvnc/lib/Xdmcp/Alloc.c vnc_unixsrc/Xvnc/lib/Xdmcp/Alloc.c
   46 --- vnc_unixsrc.orig/Xvnc/lib/Xdmcp/Alloc.c	2000-06-11 07:00:52.000000000 -0500
   47 +++ vnc_unixsrc/Xvnc/lib/Xdmcp/Alloc.c	2005-05-05 08:15:58.108348448 -0500
   48 @@ -31,8 +31,6 @@
   49  
   50  /* stubs for use when Xalloc, Xrealloc and Xfree are not defined */
   51  
   52 -extern char	*malloc (), *realloc ();
   53 -
   54  unsigned long *
   55  Xalloc (amount)
   56      unsigned	amount;

Generated by cgit