Use type and not struct

This commit is contained in:
Jerry Lundström 2016-07-17 11:44:34 +02:00
parent 22c1eb7f3f
commit 8c54142790
2 changed files with 3 additions and 3 deletions

View File

@ -399,11 +399,11 @@ const char *getdns_get_errorstr_by_id(uint16_t err);
/* dict util */ /* dict util */
/* set a string as bindata */ /* set a string as bindata */
getdns_return_t getdns_dict_util_set_string(struct getdns_dict * dict, getdns_return_t getdns_dict_util_set_string(getdns_dict * dict,
char *name, const char *value); char *name, const char *value);
/* get a string from a dict. the result must be freed if valid */ /* get a string from a dict. the result must be freed if valid */
getdns_return_t getdns_dict_util_get_string(struct getdns_dict * dict, getdns_return_t getdns_dict_util_get_string(getdns_dict * dict,
char *name, char **result); char *name, char **result);
/** /**

View File

@ -54,7 +54,7 @@
getdns_return_t getdns_return_t
getdns_dict_util_get_string(struct getdns_dict * dict, char *name, char **result) getdns_dict_util_get_string(getdns_dict * dict, char *name, char **result)
{ {
struct getdns_bindata *bindata = NULL; struct getdns_bindata *bindata = NULL;
if (!result) { if (!result) {