[dovecot-cvs]
dovecot/src/lib module-dir.c,1.2,1.3 network.c,1.18,1.19
cras at procontrol.fi
cras at procontrol.fi
Sun Jun 22 23:23:56 EEST 2003
Update of /home/cvs/dovecot/src/lib
In directory danu:/tmp/cvs-serv24729/lib
Modified Files:
module-dir.c network.c
Log Message:
Compiler warning fixes
Index: module-dir.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/module-dir.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- module-dir.c 30 May 2003 01:02:06 -0000 1.2
+++ module-dir.c 22 Jun 2003 19:23:54 -0000 1.3
@@ -48,9 +48,11 @@
}
/* get our init func */
- init = get_symbol(path, handle, t_strconcat(name, "_init", NULL));
+ init = (void (*)()) get_symbol(path, handle,
+ t_strconcat(name, "_init", NULL));
deinit = init == NULL ? NULL :
- get_symbol(path, handle, t_strconcat(name, "_deinit", NULL));
+ (void (*)()) get_symbol(path, handle,
+ t_strconcat(name, "_deinit", NULL));
if (init == NULL || deinit == NULL) {
(void)dlclose(handle);
Index: network.c
===================================================================
RCS file: /home/cvs/dovecot/src/lib/network.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- network.c 18 May 2003 16:37:04 -0000 1.18
+++ network.c 22 Jun 2003 19:23:54 -0000 1.19
@@ -522,7 +522,6 @@
(ip4 & 0x0000ff00) >> 8,
(ip4 & 0x000000ff));
#endif
- return 0;
}
int net_addr2ip(const char *addr, struct ip_addr *ip)
More information about the dovecot-cvs
mailing list