added nix build stuff

This commit is contained in:
2023-07-18 23:53:22 +10:00
parent 9c7ccfe0b0
commit b208382e60
8 changed files with 50 additions and 56 deletions

View File

@ -22,6 +22,7 @@ struct pastseg *pastRuns;
int segCount;
int currSeg = -1;
char currentTime[10];
int *route;
void sub_timespec(struct timespec t1, struct timespec t2, struct timespec* td)
{

View File

@ -24,6 +24,7 @@
struct segment
{
int id;
char *name;
int ms;
bool isSkipped;
@ -49,6 +50,7 @@ extern struct segment *bestsegs;
extern struct segment *wrrun;
extern struct segment *segments;
extern struct timespec notif;
extern int *route;
void sub_timespec(struct timespec t1, struct timespec t2, struct timespec* td);
void add_timespec(struct timespec t1, struct timespec t2, struct timespec* td);