X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=bfile%2Fcfile.h;h=9f03dc1a37ef1c5bad0ec6ff9a8aa1ec66f7981e;hb=19f3ea2eccaeb7e16c2807b07c6243f66405c6bc;hp=c027e9de1db3aa75c336fffe2f8f5aa1bc98dbbc;hpb=3946190aece0417a4ad4e40946dfcb9f1bca4755;p=idzebra-moved-to-github.git diff --git a/bfile/cfile.h b/bfile/cfile.h index c027e9d..9f03dc1 100644 --- a/bfile/cfile.h +++ b/bfile/cfile.h @@ -1,5 +1,5 @@ -/* $Id: cfile.h,v 1.20 2006-10-09 22:10:00 adam Exp $ - Copyright (C) 1995-2006 +/* $Id: cfile.h,v 1.22 2007-01-15 20:08:23 adam Exp $ + Copyright (C) 1995-2007 Index Data ApS This file is part of the Zebra server. @@ -80,7 +80,7 @@ CFile cf_open (MFile mf, MFile_area area, const char *fname, int block_size, int wflag, int *firstp); int cf_read (CFile cf, zint no, int offset, int nbytes, void *buf); int cf_write (CFile cf, zint no, int offset, int nbytes, const void *buf); -void cf_commit (CFile cf); +int cf_commit (CFile cf) ZEBRA_GCC_ATTR((warn_unused_result)); YAZ_END_CDECL