[BACK]Return to patch-xmovectrl_xmovectrl.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / x11 / xmove / patches

File: [cvs.NetBSD.org] / pkgsrc / x11 / xmove / patches / patch-xmovectrl_xmovectrl.c (download)

Revision 1.1, Mon Dec 24 21:16:40 2012 UTC (7 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, HEAD

Fix void usage. Follow one patch per file rule.

$NetBSD: patch-xmovectrl_xmovectrl.c,v 1.1 2012/12/24 21:16:40 joerg Exp $

--- xmovectrl/xmovectrl.c.orig	2012-12-23 00:43:42.000000000 +0000
+++ xmovectrl/xmovectrl.c
@@ -15,6 +15,7 @@
  *   limitation a license to do the foregoing actions under any patents of
  *   the party supplying this software to the X Consortium.
  */
+#include <unistd.h>
 #include <stdio.h>
 #include <sys/types.h>         /* needed by sys/socket.h and netinet/in.h */
 #include <sys/socket.h>        /* for AF_INET, SOCK_STREAM, ... */
@@ -33,6 +34,8 @@ Bool littleEndian;
 int auth_namelen, auth_datalen;
 char *auth_name, *auth_data;
 
+void DoServerSetup(int server_fd);
+
 main(int argc, char **argv, char **envp)
 {
      char **cur_argv = argv + 1;
@@ -142,7 +145,7 @@ ConnectToServer()
     return(ServerFD);
 }     
 
-
+void
 DoServerSetup(int server_fd)
 {
      unsigned char iobuf[512];