aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--driver.c3
-rw-r--r--main.c3
-rw-r--r--util.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/driver.c b/driver.c
index 09afe0f..1015153 100644
--- a/driver.c
+++ b/driver.c
@@ -5,7 +5,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdnoreturn.h>
#include <string.h>
#include <fcntl.h>
@@ -294,7 +293,7 @@ kill:
}
}
-static noreturn void
+static void
buildexe(struct input *inputs, size_t ninputs, char *output)
{
struct stageinfo *s = &stages[LINK];
diff --git a/main.c b/main.c
index e35419a..96fea3e 100644
--- a/main.c
+++ b/main.c
@@ -2,12 +2,11 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdnoreturn.h>
#include "util.h"
#include "arg.h"
#include "cc.h"
-static noreturn void
+static void
usage(void)
{
fprintf(stderr, "usage: %s [input]\n", argv0);
diff --git a/util.c b/util.c
index 724752d..950e3bd 100644
--- a/util.c
+++ b/util.c
@@ -4,7 +4,6 @@
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
-#include <stdnoreturn.h>
#include <string.h>
#include "util.h"
@@ -33,7 +32,7 @@ warn(const char *fmt, ...)
va_end(ap);
}
-noreturn void
+void
fatal(const char *fmt, ...)
{
va_list ap;