Fixed in HEAD.
Wonder why most compilers don't warn on this mismatch (or even accept
it), but I assume it is a defect of the magic pointer stuff in C... (a
function name is identical to a pointer to the function, and to the
function itself...)
-- Henrik Guido Serassio wrote: > > Hi guys, > > Andrey Shorin reported me a file_write function declaration mismatch > between disk.c & protos.h: > > protos.h: > > extern void file_write(int, off_t, void *, int len, DWCB *, void *, FREE *); > > disk.c: > > void > file_write(int fd, > off_t file_offset, > void *ptr_to_buf, > int len, > DWCB handle, <== A pointer is missing ! > void *handle_data, > FREE * free_func) > > Guido > > - > ======================================================= > Serassio Guido > Via Albenga, 11/4 10134 - Torino - ITALY > Tel. : +39.011.610749 > E-mail: serassio@interfree.it > serassio@libero.it > WWW: http://www.serassio.itReceived on Sat Jul 28 2001 - 16:44:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:14:08 MST