From bb5aa13716f27ffdc966f09112bd9e2e40ba0c3e Mon Sep 17 00:00:00 2001 From: Tom Harley Date: Fri, 26 Aug 2022 17:48:22 +0100 Subject: Move uint declaration This prevents errors when using clang. --- sinc.c | 2 -- sinc.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sinc.c b/sinc.c index 4a09712..e9980ad 100644 --- a/sinc.c +++ b/sinc.c @@ -14,8 +14,6 @@ #include "debug.h" #include "error.h" -typedef unsigned int uint; - static char *input_filename; static char *output_filename; static format_t format; diff --git a/sinc.h b/sinc.h index 0288887..5170558 100644 --- a/sinc.h +++ b/sinc.h @@ -6,6 +6,8 @@ #include "sexpr.h" #include "parse.h" +typedef unsigned int uint; + typedef enum { BITCODE, LLVM_INTERMEDIATE, -- cgit v1.2.1