Ignore:
Timestamp:
Mar 2, 2008, 12:29:06 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Fix almost 2,000 warnings by using proper "const" keywords where needed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • abuse/trunk/src/include/chars.hpp

    r2 r39  
    2424
    2525#define MAX_STATE (running+1)
    26 extern char *state_names[];
     26extern char const *state_names[];
    2727
    2828class named_field
     
    5555                                  // then objects will not draw a damage when hitting it
    5656     };
    57 extern char *cflag_names[TOTAL_CFLAGS];
     57extern char const *cflag_names[TOTAL_CFLAGS];
    5858
    5959// all object functions default to NULL
     
    7171       OFUN_CHANGE_TYPE
    7272     } ;
    73 extern char *ofun_names[TOTAL_OFUNS];
     73extern char const *ofun_names[TOTAL_OFUNS];
    7474
    7575
Note: See TracChangeset for help on using the changeset viewer.