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
+2 -1
View File
@@ -37,6 +37,7 @@
#include "abort.h"
#include "readrange.h"
#include "device.h"
#include "handlers.h"
/** @file h_rr.c Handles Read Range requests. */
@@ -44,7 +45,7 @@ static uint8_t Temp_Buf[MAX_APDU] = { 0 };
/* Encodes the property APDU and returns the length,
or sets the error, and returns -1 */
int Encode_RR_payload(
static int Encode_RR_payload(
uint8_t * apdu,
BACNET_READ_RANGE_DATA * pRequest)
{