From: Tim Waugh Date: Thu, 4 Sep 2014 10:41:01 +0000 (+0100) Subject: No need to declare 'display' here. X-Git-Tag: v1.3.90~37^2~3 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=300411c623d8f8a52caf8d868b6cc24859d620b5;p=tigervnc.git No need to declare 'display' here. --- 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