diff options
Diffstat (limited to 'dlib')
-rw-r--r-- | dlib/dlib.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/dlib/dlib.h b/dlib/dlib.h index 0d194dbe..87335e00 100644 --- a/dlib/dlib.h +++ b/dlib/dlib.h @@ -99,7 +99,7 @@ int dStrnAsciiCasecmp(const char *s1, const char *s2, size_t n); */ #define Dstr_char_t char -typedef struct _dstr { +typedef struct { int sz; /* allocated size (private) */ int len; Dstr_char_t *str; @@ -128,13 +128,11 @@ const char *dStr_printable(Dstr *in, int maxlen); /* *-- dList -------------------------------------------------------------------- */ -struct Dlist_ { +typedef struct { int sz; /* allocated size (private) */ int len; void **list; -}; - -typedef struct Dlist_ Dlist; +} Dlist; /* dCompareFunc: * Return: 0 if parameters are equal (for dList_find_custom). |