};
/* non-blocking functions */
-extern int firedns_getip(int type, const char * const name, void *info);
-extern struct firedns_result *firedns_getresult(const int fd);
+extern int firedns_getip(int, const char *const, void *);
+extern struct firedns_result *firedns_getresult(const int);
/* low-timeout blocking functions */
-extern char *firedns_resolveip(int type, const char * const name);
-extern struct in_addr *firedns_resolveip4(const char * const name);
-extern struct in6_addr *firedns_resolveip6(const char * const name);
+extern char *firedns_resolveip(int, const char *const);
+extern struct in_addr *firedns_resolveip4(const char *const);
+extern struct in6_addr *firedns_resolveip6(const char *const);
extern void firedns_init(void);
extern void firedns_cycle(void);
extern void scanlog_open(const char *);
extern void scanlog_close(void);
#ifdef __GNUC__
-extern void log_printf(const char *data, ...) __attribute__((format(printf,1,2)));
+extern void log_printf(const char *, ...) __attribute__((format(printf,1,2)));
#else
-extern void log_printf(const char *data, ...);
+extern void log_printf(const char *, ...);
#endif
#endif
#ifndef MALLOC_H
#define MALLOC_H
-extern void *xcalloc(size_t bytes);
+extern void *xcalloc(size_t);
extern void xfree(void *);
extern void *xstrdup(const char *);