From 72de18bc6755069457338fb35362ec91c302e28a Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 4 Oct 2010 12:11:10 +0200 Subject: [PATCH] Place MODBUS_END_DECLS after including backend header files --- src/modbus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modbus.h b/src/modbus.h index 26ed05b..6ec0b50 100644 --- a/src/modbus.h +++ b/src/modbus.h @@ -193,9 +193,9 @@ uint8_t modbus_get_byte_from_bits(const uint8_t *src, int address, unsigned int float modbus_get_float(const uint16_t *src); void modbus_set_float(float real, uint16_t *dest); -MODBUS_END_DECLS - #include "modbus-tcp.h" #include "modbus-rtu.h" +MODBUS_END_DECLS + #endif /* _MODBUS_H_ */ -- libgit2 0.21.4