X-Git-Url: http://git.thejh.net/?p=libjh.git;a=blobdiff_plain;f=error.c;h=3860944220201c331b09a1204b427913b9d1e082;hp=91ee45edff2ae19d1c263f2754afe61854a673ed;hb=eb7ae33b36e1abed7708410d317074ad0dade835;hpb=f1079bdbda6d755f21ef6b7f11cf479b17324e93;ds=sidebyside diff --git a/error.c b/error.c index 91ee45e..3860944 100644 --- a/error.c +++ b/error.c @@ -7,7 +7,7 @@ #define GENERIC_ERROR \ "unexpected generic failure of some kind" -PUBLIC_FN void xperror(const char *s, int show_errno) { +PUBLIC_FN void xperror(const char *s, int show_errno) JH_ATTR_NORETURN { if (!s) s=GENERIC_ERROR; if (show_errno) { perror(s);