Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/riastradh-drm2]: src/sys/external/bsd/drm2/dist/include/drm Constify nam...



details:   https://anonhg.NetBSD.org/src/rev/def6f74a61ba
branches:  riastradh-drm2
changeset: 788353:def6f74a61ba
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Wed Jul 24 03:23:31 2013 +0000

description:
Constify name, desc, and date strings in struct drm_driver.

diffstat:

 sys/external/bsd/drm2/dist/include/drm/drmP.h |  6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diffs (19 lines):

diff -r c380397905cf -r def6f74a61ba sys/external/bsd/drm2/dist/include/drm/drmP.h
--- a/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 03:23:15 2013 +0000
+++ b/sys/external/bsd/drm2/dist/include/drm/drmP.h     Wed Jul 24 03:23:31 2013 +0000
@@ -1091,9 +1091,15 @@
        int major;
        int minor;
        int patchlevel;
+#ifdef __NetBSD__
+       const char *name;
+       const char *desc;
+       const char *date;
+#else
        char *name;
        char *desc;
        char *date;
+#endif
 
        u32 driver_features;
        int dev_priv_size;



Home | Main Index | Thread Index | Old Index