From 9ba1763b4f1b4aa5e65fc45a0dc5eef620b1d4ee Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Fri, 2 Feb 2024 13:39:57 +0100 Subject: Minor changes --- src/publisher.c | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'src/publisher.c') diff --git a/src/publisher.c b/src/publisher.c index a16628a..c213c3c 100644 --- a/src/publisher.c +++ b/src/publisher.c @@ -33,17 +33,6 @@ void sighandler(int signo) { void *publisher(void *zmq_publisher); -void askforbreak(char *break_file){ - FILE * file; - file = fopen(break_file, "r"); - while(file){ - printf("I am doing a break for %ds\n", BREAK_DURATION); - sleep(BREAK_DURATION); - fclose(file); - file = fopen(break_file, "r"); - } -} - typedef struct queue { int size; char issending; -- cgit v1.2.3