aboutsummaryrefslogtreecommitdiffstats
path: root/unix/vncserver
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2023-01-04 16:32:06 +0100
committerPierre Ossman <ossman@cendio.se>2023-01-05 16:43:34 +0100
commit11b535fcc8b1c7f4c041883c7fed2ca8022db5d1 (patch)
tree0773997a1b1b56e5a96f1b8306b18cdfa4664fbc /unix/vncserver
parentcdec36858eb0373fb2438f357411615c41de1125 (diff)
downloadtigervnc-11b535fcc8b1c7f4c041883c7fed2ca8022db5d1.tar.gz
tigervnc-11b535fcc8b1c7f4c041883c7fed2ca8022db5d1.zip
Fix order of qualifiers
gcc can get upset if they aren't in this order.
Diffstat (limited to 'unix/vncserver')
-rw-r--r--unix/vncserver/vncsession.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/vncserver/vncsession.c b/unix/vncserver/vncsession.c
index db3f9fe8..875a57e9 100644
--- a/unix/vncserver/vncsession.c
+++ b/unix/vncserver/vncsession.c
@@ -48,7 +48,7 @@ extern char **environ;
const char *SERVICE_NAME = "tigervnc";
// Main script PID
-volatile static pid_t script = -1;
+static volatile pid_t script = -1;
// Daemon completion pipe
int daemon_pipe_fd = -1;