Skip to content

Commit 9fdf097

Browse files
committed
fix rtt plat
1 parent 78ec204 commit 9fdf097

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/PikaPlatform.c

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ static int gettimeofday(struct timeval* tp, void* tzp) {
8383
return (0);
8484
}
8585

86-
static void timeradd(struct timeval* a, struct timeval* b, struct timeval* res) {
86+
static void timeradd(struct timeval* a,
87+
struct timeval* b,
88+
struct timeval* res) {
8789
res->tv_sec = a->tv_sec + b->tv_sec;
8890
res->tv_usec = a->tv_usec + b->tv_usec;
8991
if (res->tv_usec >= 1000000) {
@@ -92,7 +94,9 @@ static void timeradd(struct timeval* a, struct timeval* b, struct timeval* res)
9294
}
9395
}
9496

95-
static void timersub(struct timeval* a, struct timeval* b, struct timeval* res) {
97+
static void timersub(struct timeval* a,
98+
struct timeval* b,
99+
struct timeval* res) {
96100
res->tv_sec = a->tv_sec - b->tv_sec;
97101
res->tv_usec = a->tv_usec - b->tv_usec;
98102
if (res->tv_usec < 0) {

src/PikaVersion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
#define PIKA_VERSION_MINOR 13
33
#define PIKA_VERSION_MICRO 3
44

5-
#define PIKA_EDIT_TIME "2024/03/04 03:32:04"
5+
#define PIKA_EDIT_TIME "2024/03/11 09:01:07"

0 commit comments

Comments
 (0)