summaryrefslogtreecommitdiffstats
path: root/include/c.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/c.h')
-rw-r--r--include/c.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/c.h b/include/c.h
index bf11d61ac..3f47dbdcb 100644
--- a/include/c.h
+++ b/include/c.h
@@ -212,6 +212,12 @@ errmsg(char doexit, int excode, char adderr, const char *fmt, ...)
exit(eval); \
})
+#define errtryh(eval) __extension__ ({ \
+ fprintf(stderr, _("Try '%s -h' for more information.\n"), \
+ program_invocation_short_name); \
+ exit(eval); \
+})
+
static inline __attribute__((const)) int is_power_of_2(unsigned long num)
{