From: Pierre Ossman Date: Thu, 19 Jan 2017 14:24:18 +0000 (+0100) Subject: Remove needless static qualifier X-Git-Tag: v1.7.90~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=3de00098d0baadc74f1390855148ebd7a3226218;p=tigervnc.git Remove needless static qualifier --- 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;