- Cleaned up prototypes
authormichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sat, 6 Jun 2015 16:58:51 +0000 (16:58 +0000)
committermichael <michael@82007160-df01-0410-b94d-b575c5fd34c7>
Sat, 6 Jun 2015 16:58:51 +0000 (16:58 +0000)
git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/branches/1.0.x@6058 82007160-df01-0410-b94d-b575c5fd34c7

src/firedns.h
src/log.h
src/memory.h

index bd65d5b5aeb0f90edc4d5b897312458177a7103f..5b4cc23003e928178739b3b62e1397da9f3a4302 100644 (file)
@@ -73,13 +73,13 @@ struct firedns_result
 };
 
 /* 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);
index aa03b501992c058c2f2ebf3291daa78127d8a520..9deef28998d560491e899818685cb8e955a6373b 100644 (file)
--- a/src/log.h
+++ b/src/log.h
@@ -26,8 +26,8 @@ extern void log_close(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
index 797efa39c41cfd42158fbde864e6cd4bbebadd22..08f14c9fbbf399cb2a8e53559123ee37edf66fa6 100644 (file)
@@ -21,7 +21,7 @@
 #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 *);