summaryrefslogtreecommitdiff
path: root/dri3
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2014-10-22 10:47:03 -0400
committerAdam Jackson <ajax@redhat.com>2015-07-08 16:40:57 -0400
commitc4a0d6c9139d2c0107b80420cc2342614bbe95ef (patch)
treedaeb6eeda113d3bc84eb3b7f1b425c92df10c80c /dri3
parenta69e9027e167a83281b96e13f3a77100876b72ae (diff)
dri3: static cleanup
Also remove unused window private key. Reviewed-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Adam Jackson <ajax@redhat.com>
Diffstat (limited to 'dri3')
-rw-r--r--dri3/dri3.c3
-rw-r--r--dri3/dri3_priv.h2
2 files changed, 1 insertions, 4 deletions
diff --git a/dri3/dri3.c b/dri3/dri3.c
index 385862a3b..d042b8b7d 100644
--- a/dri3/dri3.c
+++ b/dri3/dri3.c
@@ -26,9 +26,8 @@
#include "dri3_priv.h"
-int dri3_request;
+static int dri3_request;
DevPrivateKeyRec dri3_screen_private_key;
-DevPrivateKeyRec dri3_window_private_key;
static int dri3_screen_generation;
diff --git a/dri3/dri3_priv.h b/dri3/dri3_priv.h
index e2fed839b..e61ef226c 100644
--- a/dri3/dri3_priv.h
+++ b/dri3/dri3_priv.h
@@ -32,8 +32,6 @@
#include <randrstr.h>
#include "dri3.h"
-extern int dri3_request;
-
extern DevPrivateKeyRec dri3_screen_private_key;
typedef struct dri3_screen_priv {