X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fyaz-util.h;h=f508d5afb24dad7331d2c2f1254a7cf000705d68;hp=c6f30199a443ccb918df0956b05ea6e4f5f89b19;hb=78e049108ef4c65f1dc3dddd747e59b90b75a9a6;hpb=4553ace9ab808a5db41bd7e03db6b8b4e9f8acc7 diff --git a/include/yaz/yaz-util.h b/include/yaz/yaz-util.h index c6f3019..f508d5a 100644 --- a/include/yaz/yaz-util.h +++ b/include/yaz/yaz-util.h @@ -1,10 +1,13 @@ /* - * Copyright (c) 1995-1997, Index Data. + * Copyright (c) 1995-2000, Index Data. * See the file LICENSE for details. * Sebastian Hammer, Adam Dickmeiss * * $Log: yaz-util.h,v $ - * Revision 1.1 1999-11-30 13:47:11 adam + * Revision 1.2 2000-02-28 11:20:06 adam + * Using autoconf. New definitions: YAZ_BEGIN_CDECL/YAZ_END_CDECL. + * + * Revision 1.1 1999/11/30 13:47:11 adam * Improved installation. Moved header files to include/yaz. * * Revision 1.6 1997/10/27 13:52:46 adam @@ -39,15 +42,11 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL YAZ_EXPORT int yaz_matchstr(const char *s1, const char *s2); YAZ_EXPORT int atoi_n (const char *buf, int len); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #endif