Browse code

-changed "str str" declaration to "struct _str str" to make gcc happy when compiling with "-x c++" options (required when a module uses c++ .h files)

Tomas Mandys authored on 19/01/2006 10:29:10
Showing 1 changed files
... ...
@@ -100,7 +100,7 @@ enum { NOSUBTYPE=0, STRING_ST, NET_ST, NUMBER_ST, IP_ST, RE_ST, PROXY_ST,
100 100
 /* Expression operand */
101 101
 union exp_op {
102 102
 	struct expr* expr;
103
-	str str;
103
+	struct _str str;
104 104
 	char* string;
105 105
 	void* param;
106 106
 	int intval;
... ...
@@ -123,7 +123,7 @@ typedef struct {
123 123
 	union {
124 124
 		long number;
125 125
 		char* string;
126
-		str str;
126
+		struct _str str;
127 127
 		void* data;
128 128
 		avp_spec_t* attr;
129 129
 		select_t* select;