Changes to clean up compile warnings

This commit is contained in:
skarg
2017-02-14 15:21:39 +00:00
parent daf346e6b2
commit bd5ec637a6
4 changed files with 17 additions and 1 deletions
+3
View File
@@ -235,7 +235,10 @@ extern "C" {
void Device_getCurrentDateTime(
BACNET_DATE_TIME * DateTime);
int32_t Device_UTC_Offset(void);
void Device_UTC_Offset_Set(int16_t offset);
bool Device_Daylight_Savings_Status(void);
bool Device_Align_Intervals(void);
bool Device_Align_Intervals_Set(bool flag);
+7
View File
@@ -81,6 +81,13 @@ extern "C" {
unsigned Schedule_Instance_To_Index(uint32_t instance);
void Schedule_Init(void);
void Schedule_Out_Of_Service_Set(
uint32_t object_instance,
bool value);
bool Schedule_Out_Of_Service(
uint32_t object_instance);
bool Schedule_Object_Name(uint32_t object_instance,
BACNET_CHARACTER_STRING * object_name);
+1 -1
View File
@@ -1594,7 +1594,7 @@ static int local_read_property(
* Attempt to fetch the logged property and store it in the Trend Log *
****************************************************************************/
void TL_fetch_property(
static void TL_fetch_property(
int iLog)
{
uint8_t ValueBuf[MAX_APDU]; /* This is a big buffer in case someone selects the device object list for example */
+6
View File
@@ -78,6 +78,12 @@ static int get_local_ifr_ioctl(
return rv;
}
/* forward prototype required for compilers */
int get_local_address_ioctl(
char *ifname,
struct in_addr *addr,
int request);
int get_local_address_ioctl(
char *ifname,
struct in_addr *addr,