aboutsummaryrefslogtreecommitdiffstats
path: root/epan/resolv.h
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2003-05-05 00:53:06 +0000
committerGuy Harris <guy@alum.mit.edu>2003-05-05 00:53:06 +0000
commit6d6a37b5d26669cc1540497de4f5d0e88f1b51ad (patch)
tree76db197606e10cccd9e56909245eee1141b93b50 /epan/resolv.h
parent1d9b54fc072952758813d6cbce25bbe1ef8c2ac3 (diff)
Provide stub versions of "host_name_lookup_init()",
"host_name_lookup_process()", and "host_name_lookup_cleanup()" if we don't have GNU ADNS, so that Ethereal compiles without GNU ADNS. Declare the argument lists of "host_name_lookup_init()" and "host_name_lookup_cleanup()" as empty, C89-style, rather than as unknown. svn path=/trunk/; revision=7641
Diffstat (limited to 'epan/resolv.h')
-rw-r--r--epan/resolv.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/resolv.h b/epan/resolv.h
index 500ac4705f..b5a5d2f921 100644
--- a/epan/resolv.h
+++ b/epan/resolv.h
@@ -1,7 +1,7 @@
/* resolv.h
* Definitions for network object lookup
*
- * $Id: resolv.h,v 1.11 2003/05/04 18:50:54 gerald Exp $
+ * $Id: resolv.h,v 1.12 2003/05/05 00:53:06 guy Exp $
*
* Laurent Deniel <laurent.deniel@free.fr>
*
@@ -67,10 +67,10 @@ extern guchar *get_tcp_port(guint port);
extern guchar *get_sctp_port(guint port);
/* host_name_lookup_init fires up an ADNS socket if we're using ADNS */
-extern void host_name_lookup_init();
+extern void host_name_lookup_init(void);
/* host_name_lookup_cleanup cleans up an ADNS socket if we're using ADNS */
-extern void host_name_lookup_cleanup();
+extern void host_name_lookup_cleanup(void);
/* get_hostname returns the host name or "%d.%d.%d.%d" if not found */
extern guchar *get_hostname(guint addr);