Skip to content

Commit 2e01638

Browse files
committed
minor fixes of inconsistent whitespace style
1 parent db0abbb commit 2e01638

File tree

4 files changed

+0
-10
lines changed

4 files changed

+0
-10
lines changed

ntimed.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ void TS_RunTest(struct ocx *ocx);
138138

139139
/* todo.c -- todo-list scheduler **************************************/
140140

141-
142141
enum todo_e {
143142
TODO_INTR = -2, // Signal received
144143
TODO_FAIL = -1, // Break out of TODO_Run()

ntp_packet.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@
7676
static void
7777
ntp64_2ts(struct timestamp *ts, const uint8_t *ptr)
7878
{
79-
8079
INIT_OBJ(ts, TIMESTAMP_MAGIC);
8180
ts->sec = Be32dec(ptr) - NTP_UNIX;
8281
ts->frac = (uint64_t)Be32dec(ptr + 4) << 32ULL;
@@ -85,7 +84,6 @@ ntp64_2ts(struct timestamp *ts, const uint8_t *ptr)
8584
static void
8685
ntp32_2ts(struct timestamp *ts, const uint8_t *ptr)
8786
{
88-
8987
INIT_OBJ(ts, TIMESTAMP_MAGIC);
9088
ts->sec = Be16dec(ptr);
9189
ts->frac = (uint64_t)Be16dec(ptr + 2) << 48ULL;

time_stuff.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ ts_fixstorage(struct timestamp *storage)
6767
struct timestamp *
6868
TS_Nanosec(struct timestamp *storage, int64_t sec, int64_t nsec)
6969
{
70-
7170
storage = ts_fixstorage(storage);
7271

7372
assert(sec >= 0);
@@ -83,7 +82,6 @@ TS_Nanosec(struct timestamp *storage, int64_t sec, int64_t nsec)
8382
struct timestamp *
8483
TS_Double(struct timestamp *storage, double d)
8584
{
86-
8785
assert(d >= 0.0);
8886
storage = ts_fixstorage(storage);
8987

@@ -261,5 +259,3 @@ TS_RunTest(struct ocx *ocx)
261259
Debug(ocx, "TS_RunTest: %d failures\n", nf);
262260
AZ(nf);
263261
}
264-
265-

time_unix.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ kt_setfreq(struct ocx *ocx, double frequency)
101101
static enum todo_e __match_proto__(todo_f)
102102
kt_ticker(struct ocx *ocx, struct todolist *tdl, void *priv)
103103
{
104-
105104
(void)ocx;
106105
AN(tdl);
107106
AZ(priv);
@@ -238,7 +237,6 @@ kt_sleep(double dur)
238237
void
239238
Time_Unix(struct todolist *tdl)
240239
{
241-
242240
AN(tdl);
243241
TB_Step = kt_step;
244242
TB_Adjust = kt_adjust;
@@ -256,7 +254,6 @@ Time_Unix(struct todolist *tdl)
256254
void
257255
Time_Unix_Passive(void)
258256
{
259-
260257
TB_Sleep = kt_sleep;
261258
TB_Now = kt_now;
262259
}

0 commit comments

Comments
 (0)