summaryrefslogtreecommitdiff
path: root/xf86drmMode.h
diff options
context:
space:
mode:
authorDaniel Kurtz <djkurtz@chromium.org>2013-08-26 23:39:16 +0800
committerEric Anholt <eric@anholt.net>2013-09-22 13:30:46 -0700
commit0f4452bb51306024fbf4cbf77d8baab20cefba67 (patch)
treec7934c308e0e2164d6faf6603772007ac6f9b578 /xf86drmMode.h
parenta48d6e5621fea701e36724cc144d9fe293332824 (diff)
downloadlibdrm-0f4452bb51306024fbf4cbf77d8baab20cefba67.tar.gz
libdrm-0f4452bb51306024fbf4cbf77d8baab20cefba67.tar.bz2
libdrm-0f4452bb51306024fbf4cbf77d8baab20cefba67.zip
libdrm: Make some drm headers compatible with gcc -std=c89 -pedantic
The following minor changes were needed to these headers: * Convert // comments to /* */ * No , after final member of enum With these changes, these header files can be included by a program that is built with gcc options: -std=c89 -Werror -pedantic Signed-off-by: Daniel Kurtz <djkurtz@chromium.org> Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'xf86drmMode.h')
-rw-r--r--xf86drmMode.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/xf86drmMode.h b/xf86drmMode.h
index f8a817cd..5bc60ee0 100644
--- a/xf86drmMode.h
+++ b/xf86drmMode.h
@@ -218,11 +218,11 @@ typedef struct _drmModeProperty {
uint32_t flags;
char name[DRM_PROP_NAME_LEN];
int count_values;
- uint64_t *values; // store the blob lengths
+ uint64_t *values; /* store the blob lengths */
int count_enums;
struct drm_mode_property_enum *enums;
int count_blobs;
- uint32_t *blob_ids; // store the blob IDs
+ uint32_t *blob_ids; /* store the blob IDs */
} drmModePropertyRes, *drmModePropertyPtr;
typedef struct _drmModeCrtc {