summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/struct.c b/struct.c
index 2b76c510..268b9a40 100644
--- a/struct.c
+++ b/struct.c
@@ -216,7 +216,7 @@ void struct_init(void)
reg_fun(intern(lit("static-slot-types"), system_package), func_n1(static_slot_types));
}
-static noreturn void no_such_struct(val ctx, val sym)
+static NORETURN void no_such_struct(val ctx, val sym)
{
uw_throwf(error_s, lit("~a: ~s does not name a struct type"),
ctx, sym, nao);
@@ -1126,13 +1126,13 @@ static struct stslot *lookup_static_slot_desc_load(struct struct_type *st,
return stsl;
}
-static noreturn void no_such_slot(val ctx, val type, val slot)
+static NORETURN void no_such_slot(val ctx, val type, val slot)
{
uw_throwf(error_s, lit("~a: ~s has no slot named ~s"),
ctx, type, slot, nao);
}
-static noreturn void no_such_static_slot(val ctx, val type, val slot)
+static NORETURN void no_such_static_slot(val ctx, val type, val slot)
{
uw_throwf(error_s, lit("~a: ~s has no static slot named ~s"),
ctx, type, slot, nao);