X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Fyaz%2Fprt-proto.h;h=08c47d64edade1ca79cff5d274693e131de093de;hb=78e049108ef4c65f1dc3dddd747e59b90b75a9a6;hp=e6a4f3eb80b51d07921c2a4b8cfa42556f917db8;hpb=d9ee01635f03f9095a66f71b73580560d48798e8;p=yaz-moved-to-github.git diff --git a/include/yaz/prt-proto.h b/include/yaz/prt-proto.h index e6a4f3e..08c47d6 100644 --- a/include/yaz/prt-proto.h +++ b/include/yaz/prt-proto.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 1995-1999, Index Data. + * Copyright (c) 1995-2000, Index Data. * * Permission to use, copy, modify, distribute, and sell this software and * its documentation, in whole or in part, for any purpose, is hereby granted, @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: prt-proto.h,v 1.1 1999-11-30 13:47:11 adam Exp $ + * $Id: prt-proto.h,v 1.2 2000-02-28 11:20:06 adam Exp $ */ #ifndef PRT_PROTO_H @@ -34,9 +34,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL /* ----------------- GLOBAL AUXILIARY DEFS ----------------*/ @@ -1147,9 +1145,7 @@ YAZ_EXPORT int z_DefaultDiagFormat(ODR o, Z_DefaultDiagFormat **p, int opt, YAZ_EXPORT Z_APDU *zget_APDU(ODR o, int which); YAZ_EXPORT int z_Query(ODR o, Z_Query **p, int opt, const char *name); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #include #include