Adding const for gcc2 as well shouldn't cause any issues. Thanks Axel!

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29123 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2009-02-01 23:28:37 +00:00
parent 779bacf0fe
commit 5ca7bf5f96

View File

@ -41,26 +41,17 @@ struct _oproperty_info_;
struct compound_type {
struct field_pair {
#if __GNUC__ > 2
const
#endif
char *name; // name of entry in message
const char *name; // name of entry in message
type_code type; // type_code of entry in message
};
field_pair pairs[5];
};
struct property_info {
#if __GNUC__ > 2
const
#endif
char *name;
const char *name;
uint32 commands[10];
uint32 specifiers[10];
#if __GNUC__ > 2
const
#endif
char *usage;
const char *usage;
uint32 extra_data;
uint32 types[10];
compound_type ctypes[3];
@ -73,16 +64,10 @@ enum value_kind {
};
struct value_info {
#if __GNUC__ > 2
const
#endif
char *name;
const char *name;
uint32 value;
value_kind kind;
#if __GNUC__ > 2
const
#endif
char *usage;
const char *usage;
uint32 extra_data;
uint32 _reserved[10];
};