summaryrefslogtreecommitdiffhomepage
path: root/ir/lower
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2017-01-23 13:36:21 +0100
committerChristoph Mallon <christoph.mallon@gmx.de>2017-01-24 08:38:26 +0100
commit6b3f456393a7e723baa24ffb531241898095f872 (patch)
tree6edf0769217a247053adc3a190a961bd9a740632 /ir/lower
parent89a0191cb027543df14b68dad5bdf486c325fdcc (diff)
lower: Constify.
Diffstat (limited to 'ir/lower')
-rw-r--r--ir/lower/lower_builtins.c2
-rw-r--r--ir/lower/lower_builtins.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/ir/lower/lower_builtins.c b/ir/lower/lower_builtins.c
index ed669d8..1925ac7 100644
--- a/ir/lower/lower_builtins.c
+++ b/ir/lower/lower_builtins.c
@@ -210,7 +210,7 @@ changed:
panic("unexpected builtin %+F", node);
}
-void lower_builtins(size_t n_exceptions, ir_builtin_kind *exceptions)
+void lower_builtins(size_t const n_exceptions, ir_builtin_kind const *const exceptions)
{
memset(dont_lower, 0, sizeof(dont_lower));
for (size_t i = 0; i < n_exceptions; ++i) {
diff --git a/ir/lower/lower_builtins.h b/ir/lower/lower_builtins.h
index d3ff308..f185095 100644
--- a/ir/lower/lower_builtins.h
+++ b/ir/lower/lower_builtins.h
@@ -14,6 +14,6 @@
#include "firm_types.h"
#include <stddef.h>
-void lower_builtins(size_t n_exceptions, ir_builtin_kind *exceptions);
+void lower_builtins(size_t n_exceptions, ir_builtin_kind const *exceptions);
#endif