Fix typo in macro definition

This commit is contained in:
Utkarsh Verma 2021-10-12 11:13:08 +05:30
parent f4a1a63485
commit a1727ce4c8
No known key found for this signature in database
GPG Key ID: 817656CF818EFCCC

2
main.c
View File

@ -8,7 +8,7 @@
#include <unistd.h>
#define STR2(a) #a
#define STRINGIFY(a) STR2(a)
#define STR(a) STR2(a)
#define BLOCK(cmd, interval, signal) { .command = "echo \"" STR(__COUNTER__) "$(" cmd ")\"", interval, signal },
typedef struct {
const char *command;