mirror of
https://github.com/stargieg/bacnet-stack
synced 2025-10-26 23:35:52 +08:00
[r3117] Changes to clean up compile warnings
This commit is contained in:
parent
233ff85d6e
commit
93aac61ff7
|
|
@ -235,7 +235,10 @@ extern "C" {
|
||||||
|
|
||||||
void Device_getCurrentDateTime(
|
void Device_getCurrentDateTime(
|
||||||
BACNET_DATE_TIME * DateTime);
|
BACNET_DATE_TIME * DateTime);
|
||||||
|
|
||||||
int32_t Device_UTC_Offset(void);
|
int32_t Device_UTC_Offset(void);
|
||||||
|
void Device_UTC_Offset_Set(int16_t offset);
|
||||||
|
|
||||||
bool Device_Daylight_Savings_Status(void);
|
bool Device_Daylight_Savings_Status(void);
|
||||||
bool Device_Align_Intervals(void);
|
bool Device_Align_Intervals(void);
|
||||||
bool Device_Align_Intervals_Set(bool flag);
|
bool Device_Align_Intervals_Set(bool flag);
|
||||||
|
|
|
||||||
|
|
@ -81,6 +81,13 @@ extern "C" {
|
||||||
unsigned Schedule_Instance_To_Index(uint32_t instance);
|
unsigned Schedule_Instance_To_Index(uint32_t instance);
|
||||||
void Schedule_Init(void);
|
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,
|
bool Schedule_Object_Name(uint32_t object_instance,
|
||||||
BACNET_CHARACTER_STRING * object_name);
|
BACNET_CHARACTER_STRING * object_name);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2085,7 +2085,7 @@ static int local_read_property(
|
||||||
* Attempt to fetch the logged property and store it in the Trend Log *
|
* Attempt to fetch the logged property and store it in the Trend Log *
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void TL_fetch_property(
|
static void TL_fetch_property(
|
||||||
int i)
|
int i)
|
||||||
{
|
{
|
||||||
uint8_t ValueBuf[MAX_APDU]; /* This is a big buffer in case someone selects the device object list for example */
|
uint8_t ValueBuf[MAX_APDU]; /* This is a big buffer in case someone selects the device object list for example */
|
||||||
|
|
|
||||||
|
|
@ -77,6 +77,13 @@ static int get_local_ifr_ioctl(
|
||||||
|
|
||||||
return rv;
|
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(
|
int get_local_address_ioctl(
|
||||||
char *ifname,
|
char *ifname,
|
||||||
struct in_addr *addr,
|
struct in_addr *addr,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user