]> git.sur5r.net Git - cc65/blobdiff - src/cc65/declattr.h
Fixed the cc65 code that handled an addition of a pointer to a 32-bit offset.
[cc65] / src / cc65 / declattr.h
index 976de35ce840d1c38c14eb41daad7be079cf1f32..63669cee7bd08714936da2d0ea8fb40a186193e3 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************/
 /*                                                                           */
-/*                               declattr.h                                 */
+/*                                declattr.h                                 */
 /*                                                                           */
-/*                         Declaration attributes                           */
+/*                          Declaration attributes                           */
 /*                                                                           */
 /*                                                                           */
 /*                                                                           */
@@ -39,7 +39,7 @@
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
@@ -49,10 +49,8 @@ struct Declaration;
 
 /* Supported attribute types */
 typedef enum {
-    atNone     = -1,           /* No attribute */
-    atNoReturn,                        /* Function does not return */
-
-    atCount                    /* Number of attributes */
+    atNoReturn,                 /* Function does not return */
+    atUnused,                   /* Symbol is unused - don't warn */
 } DeclAttrType;
 
 /* An actual attribute description */
@@ -64,7 +62,7 @@ struct DeclAttr {
 
 
 /*****************************************************************************/
-/*                                  Code                                    */
+/*                                   Code                                    */
 /*****************************************************************************/
 
 
@@ -77,6 +75,3 @@ void ParseAttribute (struct Declaration* D);
 /* End of declattr.h */
 
 #endif
-
-
-