[PATCH:libxtrans 04/10] Fix warning: ISO C90 forbids mixed declarations and code

Alan Coopersmith alan.coopersmith at oracle.com
Tue Sep 27 14:28:24 PDT 2011


Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
---
 Xtranslcl.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Xtranslcl.c b/Xtranslcl.c
index 1ec0641..8be8a58 100644
--- a/Xtranslcl.c
+++ b/Xtranslcl.c
@@ -732,12 +732,12 @@ TRANS(NAMEDOpenClient)(XtransConnInfo ciptr, char *port)
 static int
 TRANS(NAMEDOpenPipe)(const char *server_path)
 {
-    prmsg(2,"NAMEDOpenPipe(%s)\n", server_path);
-
     int			fd, pipefd[2];
     struct stat		sbuf;
     int			mode;
 
+    prmsg(2,"NAMEDOpenPipe(%s)\n", server_path);
+
 #ifdef HAS_STICKY_DIR_BIT
     mode = 01777;
 #else
-- 
1.7.3.2



More information about the xorg-devel mailing list