From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- spectro/spyd2.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'spectro/spyd2.h') diff --git a/spectro/spyd2.h b/spectro/spyd2.h index 0588b9b..318ed7c 100644 --- a/spectro/spyd2.h +++ b/spectro/spyd2.h @@ -37,6 +37,10 @@ #include "inst.h" +#ifdef __cplusplus + extern "C" { +#endif + /* Note: update spyd2_interp_error() and spyd2_interp_code() in spyd2.c */ /* if anything of these #defines are added or subtracted */ @@ -178,5 +182,9 @@ extern spyd2 *new_spyd2(icoms *icom, instType itype); /* Return 1 if Spyder firmware is available */ extern int setup_spyd2(int id); +#ifdef __cplusplus + } +#endif + #define SPYD2_H #endif /* SPYD2_H */ -- cgit v1.2.3