Make BLOCK definition pedantic

This commit is contained in:
Utkarsh Verma 2022-01-02 23:47:27 +05:30
commit 978229b265
No known key found for this signature in database
GPG key ID: 817656CF818EFCCC
3 changed files with 13 additions and 13 deletions

2
main.c
View file

@ -12,7 +12,7 @@
#define POLL_INTERVAL 50
#define LEN(arr) (sizeof(arr) / sizeof(arr[0]))
#define BLOCK(cmd, interval, signal) {"echo \"$(" cmd ")\"", interval, signal},
#define BLOCK(cmd, interval, signal) {"echo \"$(" cmd ")\"", interval, signal}
typedef struct {
const char* command;
const unsigned int interval;