summaryrefslogtreecommitdiff
path: root/libkms/internal.h
diff options
context:
space:
mode:
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