summaryrefslogtreecommitdiff
path: root/libkms/internal.h
diff options
context:
space:
mode:
authorEmil Velikov <emil.l.velikov@gmail.com>2015-03-23 23:24:48 +0000
committerEmil Velikov <emil.l.velikov@gmail.com>2015-04-28 11:19:15 +0100
commit983892d2756b4bcfcd455ec644afe666b9e0e447 (patch)
tree0341a5aa072e9a379540bc303dd9cf4016445140 /libkms/internal.h
parent47429af325b6c32904c0b7e68e6ce3ff0d57aec0 (diff)
downloaddrm-983892d2756b4bcfcd455ec644afe666b9e0e447.tar.gz
libkms: annotate private symbols
Cc: Jakob Bornecrantz <jakob@vmware.com> Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'libkms/internal.h')
-rw-r--r--libkms/internal.h19
1 files changed, 12 insertions, 7 deletions
diff --git a/libkms/internal.h b/libkms/internal.h
index f831b57d..e7d5c463 100644
--- a/libkms/internal.h
+++ b/libkms/internal.h
@@ -29,6 +29,11 @@
#ifndef INTERNAL_H_
#define INTERNAL_H_
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include "libdrm.h"
#include "libkms.h"
struct kms_driver
@@ -62,18 +67,18 @@ struct kms_bo
unsigned handle;
};
-int linux_create(int fd, struct kms_driver **out);
+drm_private int linux_create(int fd, struct kms_driver **out);
-int vmwgfx_create(int fd, struct kms_driver **out);
+drm_private int vmwgfx_create(int fd, struct kms_driver **out);
-int intel_create(int fd, struct kms_driver **out);
+drm_private int intel_create(int fd, struct kms_driver **out);
-int dumb_create(int fd, struct kms_driver **out);
+drm_private int dumb_create(int fd, struct kms_driver **out);
-int nouveau_create(int fd, struct kms_driver **out);
+drm_private int nouveau_create(int fd, struct kms_driver **out);
-int radeon_create(int fd, struct kms_driver **out);
+drm_private int radeon_create(int fd, struct kms_driver **out);
-int exynos_create(int fd, struct kms_driver **out);
+drm_private int exynos_create(int fd, struct kms_driver **out);
#endif