Source-Changes-HG archive

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

[xsrc/trunk]: xsrc/external/mit/xf86-video-ati/dist/src add missing const



details:   https://anonhg.NetBSD.org/xsrc/rev/4c90a7c151bd
branches:  trunk
changeset: 10065:4c90a7c151bd
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Jan 01 05:29:40 2019 +0000

description:
add missing const

diffstat:

 external/mit/xf86-video-ati/dist/src/radeon.h  |  4 ++--
 external/mit/xf86-video-ati/dist/src/theatre.h |  4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 6fa59a1cc0ee -r 4c90a7c151bd external/mit/xf86-video-ati/dist/src/radeon.h
--- a/external/mit/xf86-video-ati/dist/src/radeon.h     Tue Jan 01 00:40:01 2019 +0000
+++ b/external/mit/xf86-video-ati/dist/src/radeon.h     Tue Jan 01 05:29:40 2019 +0000
@@ -924,8 +924,8 @@
     int               RageTheatreCompositePort;
     int               RageTheatreSVideoPort;
     int               tunerType;
-    char*             RageTheatreMicrocPath;
-    char*             RageTheatreMicrocType;
+    const char*       RageTheatreMicrocPath;
+    const char*       RageTheatreMicrocType;
     Bool              MM_TABLE_valid;
     struct {
        uint8_t table_revision;
diff -r 6fa59a1cc0ee -r 4c90a7c151bd external/mit/xf86-video-ati/dist/src/theatre.h
--- a/external/mit/xf86-video-ati/dist/src/theatre.h    Tue Jan 01 00:40:01 2019 +0000
+++ b/external/mit/xf86-video-ati/dist/src/theatre.h    Tue Jan 01 05:29:40 2019 +0000
@@ -11,8 +11,8 @@
         int      theatre_num;
         uint32_t theatre_id;
         int      mode;
-        char*    microc_path;
-        char*    microc_type;
+        const char*    microc_path;
+        const char*    microc_type;
         
         uint16_t video_decoder_type;
         uint32_t wStandard;



Home | Main Index | Thread Index | Old Index