summary refs log tree commit diff
diff options
context:
space:
mode:
authorQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-25 10:56:30 -0400
committerQuentin Carbonneaux <quentin.carbonneaux@yale.edu>2016-03-25 10:56:35 -0400
commit97b58def96d47d937d86849380d8316ddb16bed8 (patch)
tree0b6ba8b25b02e121c41a917bfd1fec4945758ede
parent87dfb081d69cda67c601b9ee98c3a63f46dd443e (diff)
downloadroux-97b58def96d47d937d86849380d8316ddb16bed8.tar.gz
mark diag() as non-returning
-rw-r--r--lisc/lisc.h2
1 files changed, 1 insertions, 1 deletions
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);