1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-19 23:25:23 +08:00

[r3117] Changes to clean up compile warnings

This commit is contained in:
Steve Karg 2017-02-14 16:21:39 +01:00 committed by Patrick Grimm
parent 233ff85d6e
commit 93aac61ff7
4 changed files with 18 additions and 1 deletions

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);

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);

View File

@ -2085,7 +2085,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 i)
{
uint8_t ValueBuf[MAX_APDU]; /* This is a big buffer in case someone selects the device object list for example */

View File

@ -77,6 +77,13 @@ 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,