From 300411c623d8f8a52caf8d868b6cc24859d620b5 Mon Sep 17 00:00:00 2001 From: Tim Waugh Date: Thu, 4 Sep 2014 11:41:01 +0100 Subject: [PATCH] No need to declare 'display' here. --- unix/xserver/hw/vnc/XserverDesktop.cc | 2 -- unix/xserver/hw/vnc/xvnc.cc | 1 - 2 files changed, 3 deletions(-) diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index 2f8872ff..3ab11034 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -49,8 +49,6 @@ extern "C" { #define public c_public #define class c_class -extern const char *display; - #ifdef RANDR #include "randrstr.h" #endif diff --git a/unix/xserver/hw/vnc/xvnc.cc b/unix/xserver/hw/vnc/xvnc.cc index 0172feb5..2ef888dd 100644 --- a/unix/xserver/hw/vnc/xvnc.cc +++ b/unix/xserver/hw/vnc/xvnc.cc @@ -103,7 +103,6 @@ extern "C" { "See http://www.tigervnc.org for information on TigerVNC.\n") -extern const char *display; extern int monitorResolution; #define VFB_DEFAULT_WIDTH 1024 -- 2.39.5