Move 'Block' struct to header file

This commit is contained in:
2022-05-12 09:07:35 +02:00
parent d3d340249a
commit 82cce2cd8c
3 changed files with 8 additions and 8 deletions

View File

@@ -18,12 +18,6 @@
#define MIN( a, b ) ( ( a < b) ? a : b )
#define STATUSLENGTH (LENGTH(blocks) * CMDLENGTH + 1)
typedef struct {
char* icon;
char* command;
unsigned int interval;
unsigned int signal;
} Block;
#ifndef __OpenBSD__
void dummysighandler(int num);
#endif
@@ -47,7 +41,6 @@ static Window root;
static void (*writestatus) () = pstdout;
#endif
#include "blocks.h"
static char statusbar[LENGTH(blocks)][CMDLENGTH] = {0};