summaryrefslogtreecommitdiffstats
path: root/mmain.h
diff options
context:
space:
mode:
Diffstat (limited to 'mmain.h')
-rw-r--r--mmain.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/mmain.h b/mmain.h
index df631737..0d862c58 100644
--- a/mmain.h
+++ b/mmain.h
@@ -28,24 +28,12 @@
#include "mdoc.h"
-/* Rules for "dead" functions: */
-#if defined(__NetBSD__)
-#define dead_pre __dead
-#define dead_post __attribute__((__noreturn__))
-#elif defined(__OpenBSD__)
-#define dead_pre __dead
-#define dead_post /* Nothing. */
-#else
-#define dead_pre /* Nothing. */
-#define dead_post __attribute__((__noreturn__))
-#endif
-
__BEGIN_DECLS
struct mmain;
struct mmain *mmain_alloc(void);
-dead_pre void mmain_exit(struct mmain *, int) dead_post;
+__dead void mmain_exit(struct mmain *, int);
int mmain_getopt(struct mmain *, int, char *[],
const char *, const char *,
const char *, void *,