[PATCH 4/4] dri3: static cleanup
Adam Jackson
ajax at redhat.com
Tue Jun 2 08:37:22 PDT 2015
Also remove unused window private key.
Signed-off-by: Adam Jackson <ajax at redhat.com>
---
dri3/dri3.c | 3 +--
dri3/dri3_priv.h | 2 --
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/dri3/dri3.c b/dri3/dri3.c
index 385862a..d042b8b 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 e2fed83..e61ef22 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 {
--
2.4.1
More information about the xorg-devel
mailing list