Run clang-format and enable CI check for it (#755)
* pre-commit: Update and enable clang-format check There is newer version from clang-format so use that. We do not yet want 18 as that is little bit too new. * Format some thing by hand which clang-format "breaks" Clang-format will format some things little bit off in some cases. Format some things by hand so we get cleaner end result. * Run clang-format with ``` pre-commit run --all-files clang-format ``` We have already in previously checked places where clang-format does not make good format and ignored those (hopefully most of the things). --------- Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
This commit is contained in:
@@ -23,9 +23,8 @@
|
||||
* @param old_value - BACNET_TIME value prior to write
|
||||
* @param value - BACNET_TIME value of the write
|
||||
*/
|
||||
typedef void (*time_value_write_present_value_callback)(uint32_t object_instance,
|
||||
BACNET_TIME *old_value,
|
||||
BACNET_TIME *value);
|
||||
typedef void (*time_value_write_present_value_callback)(
|
||||
uint32_t object_instance, BACNET_TIME *old_value, BACNET_TIME *value);
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
@@ -88,14 +87,11 @@ void Time_Value_Write_Disable(uint32_t instance);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
bool Time_Value_Encode_Value_List(
|
||||
uint32_t object_instance,
|
||||
BACNET_PROPERTY_VALUE * value_list);
|
||||
uint32_t object_instance, BACNET_PROPERTY_VALUE *value_list);
|
||||
BACNET_STACK_EXPORT
|
||||
bool Time_Value_Change_Of_Value(
|
||||
uint32_t instance);
|
||||
bool Time_Value_Change_Of_Value(uint32_t instance);
|
||||
BACNET_STACK_EXPORT
|
||||
void Time_Value_Change_Of_Value_Clear(
|
||||
uint32_t instance);
|
||||
void Time_Value_Change_Of_Value_Clear(uint32_t instance);
|
||||
|
||||
BACNET_STACK_EXPORT
|
||||
uint32_t Time_Value_Create(uint32_t object_instance);
|
||||
|
||||
Reference in New Issue
Block a user