diff options
author | Nobuyoshi Nakada <[email protected]> | 2021-01-22 23:21:25 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <[email protected]> | 2021-01-22 23:21:25 +0900 |
commit | f1c36f2e6b0cd24dbcc9faf81a2ab88040eded2c (patch) | |
tree | e22aa16400373626cc0fce823657e1d00715bf80 /coroutine/ucontext | |
parent | c3244a3574da8ddc35523ef1b882dd2aadfc2818 (diff) |
Added include guards to coroutine headers
Diffstat (limited to 'coroutine/ucontext')
-rw-r--r-- | coroutine/ucontext/Context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/coroutine/ucontext/Context.h b/coroutine/ucontext/Context.h index 2b2a593793..797108642b 100644 --- a/coroutine/ucontext/Context.h +++ b/coroutine/ucontext/Context.h @@ -1,3 +1,6 @@ +#ifndef COROUTINE_UCONTEXT_CONTEXT_H +#define COROUTINE_UCONTEXT_CONTEXT_H 1 + /* * This file is part of the "Coroutine" project and released under the MIT License. * @@ -68,3 +71,5 @@ static inline void coroutine_destroy(struct coroutine_context * context) context->state.uc_stack.ss_size = 0; context->from = NULL; } + +#endif /* COROUTINE_UCONTEXT_CONTEXT_H */ |