Fixed some warnings detected by CSTAT.
Consolidated some unit tests and added a single test prototype to header file.
This commit is contained in:
@@ -417,9 +417,13 @@ extern "C" {
|
||||
/* true if the tag is a closing tag */
|
||||
#define IS_CLOSING_TAG(x) ((x & 0x07) == 7)
|
||||
|
||||
#ifdef TEST
|
||||
#include "ctest.h"
|
||||
void test_BACDCode(
|
||||
Test * pTest);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
}
|
||||
#endif /* __cplusplus */
|
||||
#endif
|
||||
|
||||
@@ -243,7 +243,7 @@ extern "C" {
|
||||
uint32_t device_id,
|
||||
BACNET_ALARM_ACK_DATA * data);
|
||||
|
||||
void Send_UnconfirmedPrivateTransfer(
|
||||
int Send_UnconfirmedPrivateTransfer(
|
||||
BACNET_ADDRESS * dest,
|
||||
BACNET_PRIVATE_TRANSFER_DATA * private_data);
|
||||
|
||||
|
||||
@@ -190,8 +190,7 @@ extern "C" {
|
||||
int handler_timesync_encode_recipients(
|
||||
uint8_t * apdu,
|
||||
int max_apdu);
|
||||
void handler_timesync_task(
|
||||
void);
|
||||
void handler_timesync_task(BACNET_DATE_TIME *bdatetime);
|
||||
void handler_timesync_init(
|
||||
void);
|
||||
bool handler_timesync_recipient_write(
|
||||
@@ -233,6 +232,8 @@ extern "C" {
|
||||
uint16_t service_len,
|
||||
BACNET_ADDRESS * src,
|
||||
BACNET_CONFIRMED_SERVICE_DATA * service_data);
|
||||
bool handler_cov_fsm(
|
||||
void);
|
||||
void handler_cov_task(
|
||||
void);
|
||||
void handler_cov_timer_seconds(
|
||||
|
||||
Reference in New Issue
Block a user