[PATCH 2/3] libkms: don't export internal functions

Julien Cristau jcristau at debian.org
Thu Jun 10 14:50:10 PDT 2010


---
 libkms/internal.h |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/libkms/internal.h b/libkms/internal.h
index 63122d1..efb781a 100644
--- a/libkms/internal.h
+++ b/libkms/internal.h
@@ -30,6 +30,7 @@
 #define INTERNAL_H_
 
 #include "libkms.h"
+#include "xf86drm-internals.h"
 
 struct kms_driver
 {
@@ -62,12 +63,12 @@ struct kms_bo
 	unsigned handle;
 };
 
-int linux_create(int fd, struct kms_driver **out);
+_DRM_HIDDEN int linux_create(int fd, struct kms_driver **out);
 
-int vmwgfx_create(int fd, struct kms_driver **out);
+_DRM_HIDDEN int vmwgfx_create(int fd, struct kms_driver **out);
 
-int intel_create(int fd, struct kms_driver **out);
+_DRM_HIDDEN int intel_create(int fd, struct kms_driver **out);
 
-int nouveau_create(int fd, struct kms_driver **out);
+_DRM_HIDDEN int nouveau_create(int fd, struct kms_driver **out);
 
 #endif
-- 
1.7.1



More information about the dri-devel mailing list