X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=include%2Fyaz%2Fodr.h;h=cb9e5712047b2abd04a461fe89d2d8247dbd4b7d;hp=475128166ed3753b4df670aa4ad531da64f5f304;hb=78e049108ef4c65f1dc3dddd747e59b90b75a9a6;hpb=4553ace9ab808a5db41bd7e03db6b8b4e9f8acc7 diff --git a/include/yaz/odr.h b/include/yaz/odr.h index 4751281..cb9e571 100644 --- a/include/yaz/odr.h +++ b/include/yaz/odr.h @@ -23,7 +23,7 @@ * LIABILITY, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE * OF THIS SOFTWARE. * - * $Id: odr.h,v 1.2 2000-01-31 13:15:21 adam Exp $ + * $Id: odr.h,v 1.3 2000-02-28 11:20:06 adam Exp $ */ #ifndef ODR_H @@ -35,9 +35,7 @@ #include #include -#ifdef __cplusplus -extern "C" { -#endif +YAZ_BEGIN_CDECL #ifndef bool_t #define bool_t int @@ -371,9 +369,7 @@ YAZ_EXPORT int odr_graphicstring(ODR o, char **p, int opt, const char *name); YAZ_EXPORT int odr_generalizedtime(ODR o, char **p, int opt, const char *name); -#ifdef __cplusplus -} -#endif +YAZ_END_CDECL #include