]> git.draconx.ca Git - cdecl99.git/blobdiff - src/parse-decl.c
Hand-code the normalized specifier ordering.
[cdecl99.git] / src / parse-decl.c
index 694f4ab32c3875458b8293f98d619ce3b1be707c..1ad3e8e175006f320cc86a49809a6f9e2608ba8e 100644 (file)
@@ -1,6 +1,6 @@
 /*
  * Parse and validate C declarations.
- * Copyright © 2011-2012, 2020 Nick Bowler
+ * Copyright © 2011-2012, 2020-2021 Nick Bowler
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
 #include <stdbool.h>
 
 #include "cdecl.h"
-#include "typemap.h"
+#include "cdecl-internal.h"
 #include "parse.h"
 #include "scan.h"
-#include "i18n.h"
-#include "normalize.h"
 
 /*
  * Verify the declaration specifiers of a declaration.  If top is true, treat
@@ -271,7 +269,6 @@ check_parameters(struct cdecl_declarator **p, struct cdecl_declarator *d)
 {
        struct cdecl_declspec *spec;
        struct cdecl *param;
-       bool has_void = false;
 
        if (d->type != CDECL_DECL_FUNCTION)
                return 0;