From a6cb30fcdad80bf1580f7aa64eb324348e8a42ed Mon Sep 17 00:00:00 2001 From: tradke Date: Thu, 28 Sep 2000 10:05:44 +0000 Subject: Put an "extern "C"" around C function prototypes. git-svn-id: http://svn.cactuscode.org/arrangements/CactusExternal/FlexIO/trunk@7 21a6bef8-4479-4f54-8f8d-0db94a2919ef --- src/IOProtos.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/IOProtos.h b/src/IOProtos.h index e2d475c..c5fd1a3 100644 --- a/src/IOProtos.h +++ b/src/IOProtos.h @@ -32,6 +32,11 @@ #include "Arch.h" +#ifdef __cplusplus +extern "C" +{ +#endif + int IOclose PROTO((IOFile deviceID)); int IOisValid PROTO((IOFile deviceID)); int IOsizeOf PROTO((int datatype)); @@ -60,4 +65,9 @@ int IOwriteStream PROTO((IOFile deviceID,void *data,int length)); int IOreadStream PROTO((IOFile deviceID,void *data,int length)); int IOpause PROTO((IOFile deviceID)); int IOresume PROTO((IOFile deviceID)); + +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3