Updated prototypes and include as required and found by compile with extra checking. Thanks to Nigel Jones for his "setting a bad example" article.

This commit is contained in:
skarg
2010-08-17 19:43:59 +00:00
parent b6f95a6b81
commit 3c9c3c2d56
54 changed files with 146 additions and 106 deletions
+7 -2
View File
@@ -42,7 +42,7 @@
extern "C" {
#endif /* __cplusplus */
/* encode service */
/* encode service */
int timesync_utc_encode_apdu(
uint8_t * apdu,
BACNET_DATE * my_date,
@@ -51,7 +51,12 @@ extern "C" {
uint8_t * apdu,
BACNET_DATE * my_date,
BACNET_TIME * my_time);
/* decode the service request only */
int timesync_encode_apdu_service(
uint8_t * apdu,
BACNET_UNCONFIRMED_SERVICE service,
BACNET_DATE * my_date,
BACNET_TIME * my_time);
/* decode the service request only */
int timesync_decode_service_request(
uint8_t * apdu,
unsigned apdu_len,