Modify C header files to include from C++ code

This commit is contained in:
aleax
2012-12-05 21:24:58 +02:00
parent ee6241c331
commit 72341baea5
5 changed files with 43 additions and 0 deletions

View File

@ -22,6 +22,10 @@
#include <sys/types.h>
#include <time.h>
#ifdef __cplusplus
extern "C" {
#endif
//
// Packet formats:
//
@ -633,5 +637,9 @@ u_char mbus_dif_datalength_lookup(u_char dif);
char *mbus_frame_get_secondary_address(mbus_frame *frame);
int mbus_frame_select_secondary_pack(mbus_frame *frame, char *address);
#ifdef __cplusplus
}
#endif
#endif /* _MBUS_PROTOCOL_H_ */