From 3de00098d0baadc74f1390855148ebd7a3226218 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Thu, 19 Jan 2017 15:24:18 +0100 Subject: [PATCH] Remove needless static qualifier --- unix/xserver/hw/vnc/vncBlockHandler.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unix/xserver/hw/vnc/vncBlockHandler.c b/unix/xserver/hw/vnc/vncBlockHandler.c index 390a9b3c..ec17cc0c 100644 --- a/unix/xserver/hw/vnc/vncBlockHandler.c +++ b/unix/xserver/hw/vnc/vncBlockHandler.c @@ -68,7 +68,7 @@ void vncSetNotifyFd(int fd, int scrIdx, int read, int write) int mask = (read ? X_NOTIFY_READ : 0) | (write ? X_NOTIFY_WRITE : 0); SetNotifyFd(fd, vncSocketNotify, mask, (void*)scrIdx); #else - static struct vncFdEntry* entry; + struct vncFdEntry* entry; entry = fdsHead; while (entry) { @@ -99,8 +99,8 @@ void vncRemoveNotifyFd(int fd) #if XORG >= 119 RemoveNotifyFd(fd); #else - static struct vncFdEntry** prev; - static struct vncFdEntry* entry; + struct vncFdEntry** prev; + struct vncFdEntry* entry; prev = &fdsHead; entry = fdsHead; -- 2.39.5