summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-07-05 21:11:37 +0600
committerHiltjo Posthuma <hiltjo@codemadness.org>2022-07-05 23:06:02 +0200
commit7b2bec5985b79a73613c0858a845b97ad614794d (patch)
treeb939a6455ec9c07b3e7245add1299e936294fd72
parent6890a40099bf940bb7bf21c0f5b073766ff67f5f (diff)
remove __dead code
this check is already done in util.h and is no longer needed after the `sfeed_curses -> sfeed` merge.
-rw-r--r--sfeed_curses.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sfeed_curses.c b/sfeed_curses.c
index bc2e8ba..b75c2cc 100644
--- a/sfeed_curses.c
+++ b/sfeed_curses.c
@@ -208,11 +208,6 @@ ttywrite(const char *s)
return write(1, s, strlen(s));
}
-/* Hint for compilers and static analyzers that a function exits. */
-#ifndef __dead
-#define __dead
-#endif
-
/* Print to stderr, call cleanup() and _exit(). */
__dead void
die(const char *fmt, ...)