summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sed/sed.h2
-rw-r--r--sed/utils.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sed/sed.h b/sed/sed.h
index d190700..c3700b0 100644
--- a/sed/sed.h
+++ b/sed/sed.h
@@ -181,7 +181,7 @@ struct sed_cmd {
-void bad_prog (const char *why);
+_Noreturn void bad_prog (const char *why);
size_t normalize_text (char *text, size_t len, enum text_types buftype);
struct vector *compile_string (struct vector *, char *str, size_t len);
struct vector *compile_file (struct vector *, const char *cmdfile);
diff --git a/sed/utils.h b/sed/utils.h
index bf0981c..9387369 100644
--- a/sed/utils.h
+++ b/sed/utils.h
@@ -20,7 +20,7 @@
#include "basicdefs.h"
-void panic (const char *str, ...);
+_Noreturn void panic (const char *str, ...);
FILE *ck_fopen (const char *name, const char *mode, int fail);
FILE *ck_fdopen (int fd, const char *name, const char *mode, int fail);