aboutsummaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorTim Waugh <twaugh@redhat.com>2014-09-04 11:41:01 +0100
committerTim Waugh <twaugh@redhat.com>2014-09-04 11:41:01 +0100
commit300411c623d8f8a52caf8d868b6cc24859d620b5 (patch)
tree5bdc75a779d57aae8ae636d7e230833655ae8ace /unix
parent49c8f8c1b72bbd3f5e6ccaa1addc222130ca22ea (diff)
downloadtigervnc-300411c623d8f8a52caf8d868b6cc24859d620b5.tar.gz
tigervnc-300411c623d8f8a52caf8d868b6cc24859d620b5.zip
No need to declare 'display' here.
Diffstat (limited to 'unix')
-rw-r--r--unix/xserver/hw/vnc/XserverDesktop.cc2
-rw-r--r--unix/xserver/hw/vnc/xvnc.cc1
2 files changed, 0 insertions, 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