From a160b2f56716f70fa3e485ae89875da48baefc1d Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 16 May 2019 15:51:37 +0900 Subject: Make COROUTINE_REGISTERS compile-time only not to be a global symbol --- coroutine/arm64/Context.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'coroutine/arm64') diff --git a/coroutine/arm64/Context.h b/coroutine/arm64/Context.h index 03b91fd937..ed646e818b 100644 --- a/coroutine/arm64/Context.h +++ b/coroutine/arm64/Context.h @@ -16,7 +16,7 @@ extern "C" { #define COROUTINE __attribute__((noreturn)) void -const size_t COROUTINE_REGISTERS = 0xb0 / 8; +enum {COROUTINE_REGISTERS = 0xb0 / 8}; typedef struct { -- cgit v1.2.3