projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
- ditch warnings
[m6w6/ext-http]
/
phpstr
/
phpstr.h
diff --git
a/phpstr/phpstr.h
b/phpstr/phpstr.h
index 9b6628e75a7bb1b92059fd13871463d358559b66..295ba3c1402c3f92388d83d6da97a51b6c052d9a 100644
(file)
--- a/
phpstr/phpstr.h
+++ b/
phpstr/phpstr.h
@@
-68,7
+68,7
@@
RETVAL_STRINGL((STR)->data, (STR)->used, (dup)); \
FREE_PHPSTR((free), (STR));
RETVAL_STRINGL((STR)->data, (STR)->used, (dup)); \
FREE_PHPSTR((free), (STR));
-typedef struct {
+typedef struct
_phpstr_t
{
size_t size;
char *data;
size_t used;
size_t size;
char *data;
size_t used;
@@
-76,7
+76,7
@@
typedef struct {
int pmem;
} phpstr;
int pmem;
} phpstr;
-typedef enum {
+typedef enum
_phpstr_free_t
{
PHPSTR_FREE_NOT = 0,
PHPSTR_FREE_PTR, /* pefree() */
PHPSTR_FREE_VAL, /* phpstr_dtor() */
PHPSTR_FREE_NOT = 0,
PHPSTR_FREE_PTR, /* pefree() */
PHPSTR_FREE_VAL, /* phpstr_dtor() */