Set up wpiformat

This commit is contained in:
Tyler Veness
2017-10-21 20:31:20 -07:00
committed by Peter Johnson
parent cd4b7b6cc7
commit c6f6b352fb
58 changed files with 1356 additions and 1263 deletions

View File

@@ -1,9 +1,10 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2015. All Rights Reserved. */
/* Copyright (c) 2015-2017 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#ifndef WPIUTIL_SUPPORT_TIMESTAMP_H_
#define WPIUTIL_SUPPORT_TIMESTAMP_H_
@@ -36,7 +37,7 @@ void WPI_SetNowImpl(uint64_t (*func)(void));
uint64_t WPI_Now(void);
#ifdef __cplusplus
}
} // extern "C"
#endif
#ifdef __cplusplus
@@ -47,7 +48,7 @@ namespace wpi {
* In general this is the time returned by the operating system.
* @return Time in microseconds.
*/
uint64_t NowDefault();
uint64_t NowDefault(void);
/**
* Set the implementation used by Now().
@@ -62,7 +63,7 @@ void SetNowImpl(uint64_t (*func)());
* This is a monotonic clock with an undefined epoch.
* @return Time in microseconds.
*/
uint64_t Now();
uint64_t Now(void);
} // namespace wpi
#endif