cleanup, remove warnings

This commit is contained in:
Michael Graff
1999-01-19 19:50:10 +00:00
parent 690a68b811
commit 14b50c163e
2 changed files with 11 additions and 1 deletions

View File

@@ -103,6 +103,13 @@ typedef struct dns_message {
dns_namelist_t additional;
} dns_message_t; /* XXX Should be common? */
/*
* XXX These is in wire_test.c right now.
*/
void getmessage(dns_message_t *message, isc_buffer_t *source,
isc_buffer_t *target);
dns_result_t printmessage(dns_message_t *message);
static void
dump_packet(char *buf, u_int len)
{
@@ -131,7 +138,6 @@ udp_recv(isc_task_t *task, isc_event_t *event)
{
isc_socket_t *sock;
isc_socketevent_t *dev;
isc_region_t region;
client_ctx_t *ctx;
sock = event->sender;