diff --git a/dap-sdk/core/include/dap_string.h b/dap-sdk/core/include/dap_string.h index 90405362972e41a7eb7ee415db9a0b22a953ca81..05f31c85edb020b5ecb2f7355e152182c1e2845f 100755 --- a/dap-sdk/core/include/dap_string.h +++ b/dap-sdk/core/include/dap_string.h @@ -9,14 +9,12 @@ #include <sys/types.h> #include "dap_common.h" -typedef struct _dap_string dap_string_t; - -struct _dap_string +typedef struct _dap_string { char *str; size_t len; size_t allocated_len; -}; +} dap_string_t; dap_string_t* dap_string_new(const char *init); dap_string_t* dap_string_new_len(const char *init, ssize_t len);