Changed location of #include blocks.h

This commit is contained in:
Ashish Kumar Yadav 2020-07-07 15:47:13 +05:30
parent dff4c4c005
commit 56e123d52a

View file

@ -23,6 +23,8 @@ typedef struct {
char cmdoutprv[CMDLENGTH]; char cmdoutprv[CMDLENGTH];
} Block; } Block;
#include "blocks.h"
static void buttonhandler(int signal, siginfo_t *si, void *ucontext); static void buttonhandler(int signal, siginfo_t *si, void *ucontext);
static void getcmd(Block *block, int *sigval); static void getcmd(Block *block, int *sigval);
static void setroot(); static void setroot();
@ -33,8 +35,6 @@ static void termhandler(int signum);
static int updatestatus(); static int updatestatus();
static void writepid(); static void writepid();
#include "blocks.h"
static int statusContinue = 1; static int statusContinue = 1;
static char statusstr[STTLENGTH]; static char statusstr[STTLENGTH];
static size_t delimlength; static size_t delimlength;