mirror of https://github.com/getdnsapi/getdns.git
Remove/add missing prototypes
This commit is contained in:
parent
cb26dd1a45
commit
ab75b89da2
|
@ -38,6 +38,7 @@
|
|||
#include <ctype.h>
|
||||
#include <ldns/buffer.h>
|
||||
#include "types-internal.h"
|
||||
#include "util-internal.h"
|
||||
#include "dict.h"
|
||||
|
||||
/*---------------------------------------- getdns_dict_find */
|
||||
|
|
|
@ -100,8 +100,6 @@ main()
|
|||
retregular = getdns_service_sync(contextarg,
|
||||
charstararg, dictarg, &dictarg);
|
||||
|
||||
getdns_free_sync_request_memory(dictarg);
|
||||
|
||||
retregular = getdns_list_get_length(listarg, sizetptrarg);
|
||||
retregular =
|
||||
getdns_list_get_data_type(listarg, sizetarg, datatypeptrarg);
|
||||
|
|
|
@ -111,7 +111,6 @@ main()
|
|||
|
||||
/* Clean up */
|
||||
getdns_context_destroy(this_context);
|
||||
getdns_free_sync_request_memory(this_response);
|
||||
|
||||
exit(EXIT_SUCCESS);
|
||||
} /* main */
|
||||
|
|
|
@ -34,6 +34,12 @@
|
|||
|
||||
#define TSTMSGBUF 80
|
||||
|
||||
/* Prototypes for functions not part of the API
|
||||
* TODO: remove these
|
||||
*/
|
||||
getdns_return_t getdns_list_add_item(struct getdns_list *list, size_t * index);
|
||||
getdns_return_t getdns_dict_copy(struct getdns_dict *srcdict, struct getdns_dict **dstdict);
|
||||
|
||||
/*---------------------------------------- tst_bindatasetget */
|
||||
/**
|
||||
* test the bindata get and set routines
|
||||
|
|
|
@ -35,6 +35,12 @@
|
|||
#define TSTMSGBUF 80
|
||||
#define GETDNS_LIST_BLOCKSZ 10
|
||||
|
||||
|
||||
/* Prototypes for functions not part of the API
|
||||
* TODO: remove these
|
||||
*/
|
||||
getdns_return_t getdns_list_add_item(struct getdns_list *list, size_t * index);
|
||||
|
||||
/* TODO: might want a separate unit test for getdns_list_copy() - right now the code gets
|
||||
covered as a result of other tests */
|
||||
|
||||
|
|
Loading…
Reference in New Issue