summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2020-12-12 12:39:36 +0100
committerSimon Ser <contact@emersion.fr>2021-01-11 17:08:01 +0100
commit4f0fe66369b267025e0c43ef79177587331f59a6 (patch)
treef95edf447cb7e4c42796fec33f6f6547c20c388a
parentb82ed182ca82925e6ae03ac62d7313bf6b69e9ae (diff)
Remove outdated comments about stdint.h
We include stdint.h unconditionally in the header. We don't require users to include it manually before xf86drmMode.h. Signed-off-by: Simon Ser <contact@emersion.fr> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
-rw-r--r--xf86drmMode.c5
-rw-r--r--xf86drmMode.h3
2 files changed, 0 insertions, 8 deletions
diff --git a/xf86drmMode.c b/xf86drmMode.c
index 5af27c4a..3d6bdfd6 100644
--- a/xf86drmMode.c
+++ b/xf86drmMode.c
@@ -33,11 +33,6 @@
*
*/
-/*
- * TODO the types we are after are defined in different headers on different
- * platforms find which headers to include to get uint32_t
- */
-
#include <limits.h>
#include <stdint.h>
#include <stdlib.h>
diff --git a/xf86drmMode.h b/xf86drmMode.h
index abd0c1ce..baf3d5dc 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -48,9 +48,6 @@ extern "C" {
/*
* This is the interface for modesetting for drm.
*
- * In order to use this interface you must include either <stdint.h> or another
- * header defining uint32_t, int32_t and uint16_t.
- *
* It aims to provide a randr1.2 compatible interface for modesettings in the
* kernel, the interface is also meant to be used by libraries like EGL.
*