فهرست منبع

- make gcc happy when compiling with a c++ module (str str -> struct _str str)

Tomas Mandys 19 سال پیش
والد
کامیت
d68d7f72e2
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      sr_module.h

+ 1 - 1
sr_module.h

@@ -127,7 +127,7 @@ typedef struct fparam {
         int type;                  /* Type of parameter */
         int type;                  /* Type of parameter */
         union {
         union {
 		char* asciiz;      /* Zero terminated ASCII string */
 		char* asciiz;      /* Zero terminated ASCII string */
-		str str;           /* pointer/len string */
+		struct _str str;   /* pointer/len string */
 		int i;             /* Integer value */
 		int i;             /* Integer value */
 		regex_t* regex;    /* Compiled regular expression */
 		regex_t* regex;    /* Compiled regular expression */
 		avp_ident_t avp;   /* AVP identifier */
 		avp_ident_t avp;   /* AVP identifier */