Modify C header files to include from C++ code
This commit is contained in:
@ -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_ */
|
||||
|
||||
|
Reference in New Issue
Block a user