target/armv7m: rework Cortex-M register handling part 3
[fw/openocd] / src / target / cortex_a.c
index bd8e49fd9e5c0d990a1adfec71003e819de7613a..f39fd9b2b70c6b738b004c635fc1c09caabe196b 100644 (file)
@@ -1115,7 +1115,8 @@ static int cortex_a_post_debug_entry(struct target *target)
        return ERROR_OK;
 }
 
-int cortex_a_set_dscr_bits(struct target *target, unsigned long bit_mask, unsigned long value)
+static int cortex_a_set_dscr_bits(struct target *target,
+               unsigned long bit_mask, unsigned long value)
 {
        struct armv7a_common *armv7a = target_to_armv7a(target);
        uint32_t dscr;