From 97b58def96d47d937d86849380d8316ddb16bed8 Mon Sep 17 00:00:00 2001 From: Quentin Carbonneaux Date: Fri, 25 Mar 2016 10:56:30 -0400 Subject: mark diag() as non-returning --- lisc/lisc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisc') diff --git a/lisc/lisc.h b/lisc/lisc.h index a57a984..e0542da 100644 --- a/lisc/lisc.h +++ b/lisc/lisc.h @@ -474,7 +474,7 @@ extern char debug['Z'+1]; /* util.c */ extern Typ typ[NTyp]; extern Ins insb[NIns], *curi; -void diag(char *); +void diag(char *) __attribute__((noreturn)); void *emalloc(size_t); void *alloc(size_t); void freeall(void); -- cgit 1.4.1