X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fdirentz.h;h=656eba8b6694106a248ab7de8b6873ec550ae99d;hb=c20b200f539b64303b72e0bf321156772a3d8ac9;hp=d09cd2a09bddb6410bcca243badfac4f9ac78a72;hpb=6c9fcd3b5d3108702fa1ffc92dab4ab6060f9a19;p=idzebra-moved-to-github.git diff --git a/include/direntz.h b/include/direntz.h index d09cd2a..656eba8 100644 --- a/include/direntz.h +++ b/include/direntz.h @@ -1,4 +1,4 @@ -/* $Id: direntz.h,v 1.9 2005-01-15 19:38:24 adam Exp $ +/* $Id: direntz.h,v 1.12 2006-05-10 08:13:18 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -20,16 +20,13 @@ Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - - - #ifdef WIN32 /* make WIN32 version of dirent */ #include -#ifdef __cplusplus -extern "C" { -#endif +#include + +YAZ_BEGIN_CDECL struct dirent { char d_name[MAX_PATH]; @@ -41,9 +38,7 @@ DIR *opendir (const char *path); struct dirent *readdir (DIR *dd); void closedir (DIR *dd); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #else /* include UNIX version */ @@ -51,3 +46,11 @@ void closedir (DIR *dd); #include #endif +/* + * Local variables: + * c-basic-offset: 4 + * indent-tabs-mode: nil + * End: + * vim: shiftwidth=4 tabstop=8 expandtab + */ +