From 9931f7bb5faf4407bfae23003071a6cb89e79c76 Mon Sep 17 00:00:00 2001 From: germeier Date: Sat, 26 Oct 2002 13:07:42 +0000 Subject: make libmpio header files C++ compliant --- libmpio/ecc.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'libmpio/ecc.h') diff --git a/libmpio/ecc.h b/libmpio/ecc.h index 8ac98ad..6b04191 100644 --- a/libmpio/ecc.h +++ b/libmpio/ecc.h @@ -1,6 +1,6 @@ /* * - * $Id: ecc.h,v 1.1 2002/08/28 16:10:51 salmoon Exp $ + * $Id: ecc.h,v 1.2 2002/10/26 13:07:43 germeier Exp $ * * Library for USB MPIO-* * @@ -28,9 +28,17 @@ #include "defs.h" +#ifdef __cplusplus +extern "C" { +#endif + /* 256 Bytes Data, 3 Byte ECC to generate */ int mpio_ecc_256_gen(BYTE *, BYTE *); /* 256 Bytes Data, 3 Bytes ECC to check and possibly correct */ int mpio_ecc_256_check(BYTE *, BYTE*); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3