refactor: create include/common.h with shared types/macros, deduplicate across 7 files

This commit is contained in:
2026-07-02 01:58:57 -04:00
parent 9581031dac
commit 1e09b182ee
8 changed files with 48 additions and 71 deletions
+1 -11
View File
@@ -29,17 +29,7 @@
#include "ipc.h"
#include "ipc_socket.h"
#include "util.h"
/* ------------------------------------------------------------------ */
/* Types from peachwm.c needed by command handlers */
/* ------------------------------------------------------------------ */
typedef union {
int i;
uint32_t ui;
float f;
const void *v;
} Arg;
#include "common.h"
/* ------------------------------------------------------------------ */
/* Functions from peachwm.c called by IPC command handler */