X-Git-Url: http://git.thejh.net/?p=libjh.git;a=blobdiff_plain;f=error.c;h=3860944220201c331b09a1204b427913b9d1e082;hp=91ee45edff2ae19d1c263f2754afe61854a673ed;hb=0acf1aaf8212ac44f4acaa2609a673bce77fbb41;hpb=f1079bdbda6d755f21ef6b7f11cf479b17324e93 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);