]> git.sur5r.net Git - cc65/commitdiff
Pointers passed outside the module should be const.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 26 Aug 2011 10:05:08 +0000 (10:05 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 26 Aug 2011 10:05:08 +0000 (10:05 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5271 b7a2c559-68d2-44c3-8de9-860c34a00d81

src/dbginfo/dbginfo.h

index b2d77340ca16ba7ad6880d8a2f391d32a6c96153..c001cbcb8d96ab75d0a9e9e894757510ddd050ad 100644 (file)
@@ -599,7 +599,7 @@ struct cc65_typedata {
 
         /* In case of CC65_TYPE_PTR or CC65_TYPE_FARPTR */
         struct {
-            cc65_typedata*        ind_type;     /* Type the pointer points to */
+            const cc65_typedata*  ind_type;     /* Type the pointer points to */
         } ptr;
 
         /* In case of CC65_TYPE_ARRAY */
@@ -624,7 +624,7 @@ void cc65_free_typedata (cc65_dbginfo Handle, const cc65_typedata* data);
 
 
 /* Allow usage from C++ */
-#ifdef __cplusplus
+#ifdef __cplusplus     
 }
 #endif