#include <stdio.h>
#include <stdlib.h>
#include <curses.h>
+#include <time.h>
+#include <string.h>
/* Curses takes it upon itself to define TRUE and FALSE,
incompatibly, as it happens, with the definitions in
#include "version.h"
#ifndef NO_UI
-static int32 inittm = 0;
+static uint32 inittm = 0;
#endif
-extern int32 lastDataSent;
-extern int32 time_latency, time_housekeeping;
+extern uint32 lastDataSent;
+extern uint32 time_latency, time_housekeeping;
/* Initialize user interface, as needed. */
int32 UIInit(void) {
if (coll->sampct == 1) {
line = 11;
- move(line++, 5); printw("Samples per record: %3d", (int)coll->opts.samp_rec);
- move(line++, 5); printw("Seconds per record: %3d", (int)coll->opts.sec_rec);
- move(line++, 5); printw("Records per packet: %3d", (int)coll->opts.rec_pkt);
- move(line++, 5); printw("Bits per trial: %3d", (int)coll->opts.trialsz);
+ move(line++, 5); printw("Samples per record: %3d", coll->opts.samp_rec);
+ move(line++, 5); printw("Seconds per record: %3d", coll->opts.sec_rec);
+ move(line++, 5); printw("Records per packet: %3d", coll->opts.rec_pkt);
+ move(line++, 5); printw("Bits per trial: %3d", coll->opts.trialsz);
refresh();
}