Commit: 672771fb27dcb1ef5e1f11dcbb0c15f919bbd4df
Parent: dc407f7e73545401aad580e6918a06fa8c497a1b
Author: Randy Palamar
Date: Sun, 9 Mar 2025 08:26:12 -0600
drop unused defines
Diffstat:
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/status.c b/status.c
@@ -36,10 +36,6 @@
#define asm __asm__
#endif
-#ifndef typeof
-#define typeof __typeof__
-#endif
-
#ifdef __ARM_ARCH_ISA_A64
#define debugbreak() asm volatile ("brk 0xf000")
#elif __x86_64__
@@ -50,10 +46,8 @@
#ifdef _DEBUG
#define ASSERT(c) do { if (!(c)) debugbreak(); } while (0)
-#define DEBUG_EXPORT
#else
#define ASSERT(c) do { (void)(c); } while (0)
-#define DEBUG_EXPORT static
#endif
typedef float f32;
@@ -470,7 +464,7 @@ main(i32 argc, char *argv[])
/* NOTE(rnp): fork ourselves to the background and run as a daemon */
if (!dflag) {
- switch(fork()) {
+ switch (fork()) {
case -1: die("failed to fork to background\n");
case 0: setsid(); break;
default: _exit(0);