aboutsummaryrefslogtreecommitdiff
path: root/src/url.h
diff options
context:
space:
mode:
authorp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
committerp37sitdu, corvid <devnull@localhost>2013-01-12 20:13:36 +0000
commit0f0e7cc54aecab1647bdcd222c84d17275b92313 (patch)
tree225d4a6128cd2ddbc1f762b0355c986f12c13730 /src/url.h
parent69666a2dafc8a00e5029f4b671ed94d5be38e109 (diff)
clean up struct typedefs
Diffstat (limited to 'src/url.h')
-rw-r--r--src/url.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/url.h b/src/url.h
index c5f70615..bb20d789 100644
--- a/src/url.h
+++ b/src/url.h
@@ -84,13 +84,11 @@
#define URL_ILLEGAL_CHARS_SPC(u) URL_ILLEGAL_CHARS_SPC_(u)
-typedef struct _DilloUrl DilloUrl;
-
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
-struct _DilloUrl {
+typedef struct {
Dstr *url_string;
const char *buffer;
const char *scheme; /**/
@@ -106,7 +104,7 @@ struct _DilloUrl {
int ismap_url_len; /* Used by server side image maps */
int illegal_chars; /* number of illegal chars */
int illegal_chars_spc; /* number of illegal space chars */
-};
+} DilloUrl;
DilloUrl* a_Url_new(const char *url_str, const char *base_url);