--- k8055.h 2006-12-18 12:02:05.000000000 +0100 +++ Programering/Egen/Sloper/src/k8055.h 2008-04-11 09:26:33.000000000 +0200 @@ -1,3 +1,7 @@ +#ifdef __cplusplus +extern "C" { +#endif + #include #include #include @@ -25,3 +29,7 @@ int ResetCounter(long counternr); long ReadCounter(long counterno); int SetCounterDebounceTime(long counterno, long debouncetime); + +#ifdef __cplusplus +} +#endif