[Intel-gfx] [PATCH 14/28] lib: add #include "foo.h" lines like in manpages

Daniel Vetter daniel.vetter at ffwll.ch
Sun Mar 23 15:18:48 CET 2014


Should help in alleviating the header mess we have atm.

Signed-off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
---
 lib/igt_core.c          | 2 ++
 lib/igt_debugfs.c       | 2 ++
 lib/intel_batchbuffer.c | 2 ++
 lib/intel_chipset.c     | 2 ++
 lib/ioctl_wrappers.c    | 2 ++
 5 files changed, 10 insertions(+)

diff --git a/lib/igt_core.c b/lib/igt_core.c
index 3ff7efa7de93..efcc4a11fcc5 100644
--- a/lib/igt_core.c
+++ b/lib/igt_core.c
@@ -64,6 +64,8 @@
  * @short_description: Core i-g-t testing support
  * @title: i-g-t core
  *
+ * > #include "igt_core.h"
+ *
  * This libary implements the core of the i-g-t test support infrastructure.
  * Main features are the subtest enumeration, cmdline option parsing helpers for
  * subtest handling and various helpers to structure testcases with subtests and
diff --git a/lib/igt_debugfs.c b/lib/igt_debugfs.c
index 05aed15618d2..05036fc06ba2 100644
--- a/lib/igt_debugfs.c
+++ b/lib/igt_debugfs.c
@@ -39,6 +39,8 @@
  * @short_description: Support code for debugfs features
  * @title: i-g-t debugfs
  *
+ * > #include "igt_debugfs.h"
+ *
  * This library provides helpers to access debugfs features. On top of some
  * basic functions to access debugfs files with e.g. igt_debugfs_open() it also
  * provides higher-level wrappers for some debugfs features
diff --git a/lib/intel_batchbuffer.c b/lib/intel_batchbuffer.c
index 3a38f13326ec..7852c7ca750f 100644
--- a/lib/intel_batchbuffer.c
+++ b/lib/intel_batchbuffer.c
@@ -46,6 +46,8 @@
  * @short_description: Batchbuffer and blitter support
  * @title: intel batchbuffer
  *
+ * > #include "intel_batchbuffer.h"
+ *
  * This library provides some basic support for batchbuffers and using the
  * blitter engine based upon libdrm. A new batchbuffer is allocated with
  * intel_batchbuffer_alloc() and for simple blitter commands submitted with
diff --git a/lib/intel_chipset.c b/lib/intel_chipset.c
index 5ac90d1b8ed2..b117e3be2753 100644
--- a/lib/intel_chipset.c
+++ b/lib/intel_chipset.c
@@ -45,6 +45,8 @@
  * @short_description: Feature macros and chipset helpers
  * @title: intel chipset
  *
+ * > #include "intel_chipset.h"
+ *
  * This library mostly provides feature macros which use raw pci device ids. It
  * also provides a few more helper functions to handle pci devices, chipset
  * detection and related issues.
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index febfc8b7ff91..147334f3286b 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -63,6 +63,8 @@
  * @short_description: ioctl wrappers and related functions
  * @title: ioctl wrappers
  *
+ * > #include "ioctl_wrappers.h"
+ *
  * This helper library contains simple functions to wrap the raw drm/i915 kernel
  * ioctls. The normal versions never pass any error codes to the caller and use
  * igt_assert() to check for error conditions instead. For some ioctls raw
-- 
1.8.5.2




More information about the Intel-gfx mailing list