diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-23 22:59:11 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-10-01 08:55:25 -0700 |
commit | c1968d10f97d62ac05d698822c2688151f70a9eb (patch) | |
tree | 9abdb983fd72d49a94af64887fdd995ec0355a17 /Xtranslcl.c | |
parent | 225c45b3accab56fab361104a3d14b80f6cec954 (diff) |
Fix warning: ISO C90 forbids mixed declarations and code
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'Xtranslcl.c')
-rw-r--r-- | 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 |