diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-27 23:16:58 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-27 23:21:44 -0600 |
commit | 89761191a98f7dce4d1049b9a84c3d645378222a (patch) | |
tree | 4a60eab88b515af663171aa9bee343f46ca98115 /libcr_ipc | |
parent | 7f3507b606b0f5c0c44cc59eb27e87575cf87701 (diff) |
Lint that include-guards match the filename
Diffstat (limited to 'libcr_ipc')
-rw-r--r-- | libcr_ipc/include/libcr_ipc/_linkedlist.h | 6 | ||||
-rw-r--r-- | libcr_ipc/include/libcr_ipc/chan.h | 6 | ||||
-rw-r--r-- | libcr_ipc/include/libcr_ipc/mutex.h | 6 | ||||
-rw-r--r-- | libcr_ipc/include/libcr_ipc/rpc.h | 6 | ||||
-rw-r--r-- | libcr_ipc/include/libcr_ipc/select.h | 6 | ||||
-rw-r--r-- | libcr_ipc/include/libcr_ipc/sema.h | 6 |
6 files changed, 18 insertions, 18 deletions
diff --git a/libcr_ipc/include/libcr_ipc/_linkedlist.h b/libcr_ipc/include/libcr_ipc/_linkedlist.h index be1b293..b2a94f0 100644 --- a/libcr_ipc/include/libcr_ipc/_linkedlist.h +++ b/libcr_ipc/include/libcr_ipc/_linkedlist.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _COROUTINE__LINKEDLIST_H_ -#define _COROUTINE__LINKEDLIST_H_ +#ifndef _LIBCR_IPC__LINKEDLIST_H_ +#define _LIBCR_IPC__LINKEDLIST_H_ #include <assert.h> @@ -105,4 +105,4 @@ _cr_ipc_dll_remove(root, (root)->front); \ } while(0) -#endif /* _COROUTINE__LINKEDLIST_H_ */ +#endif /* _LIBCR_IPC__LINKEDLIST_H_ */ diff --git a/libcr_ipc/include/libcr_ipc/chan.h b/libcr_ipc/include/libcr_ipc/chan.h index 0b45752..ec626be 100644 --- a/libcr_ipc/include/libcr_ipc/chan.h +++ b/libcr_ipc/include/libcr_ipc/chan.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _COROUTINE_CHAN_H_ -#define _COROUTINE_CHAN_H_ +#ifndef _LIBCR_IPC_CHAN_H_ +#define _LIBCR_IPC_CHAN_H_ #include <stdbool.h> /* for bool */ #include <stddef.h> /* for size_t */ @@ -152,4 +152,4 @@ static inline void _cr_chan_xfer(enum _cr_chan_waiter_typ self_typ, struct _cr_c } } -#endif /* _COROUTINE_CHAN_H_ */ +#endif /* _LIBCR_IPC_CHAN_H_ */ diff --git a/libcr_ipc/include/libcr_ipc/mutex.h b/libcr_ipc/include/libcr_ipc/mutex.h index eb1ecb1..1cc2e61 100644 --- a/libcr_ipc/include/libcr_ipc/mutex.h +++ b/libcr_ipc/include/libcr_ipc/mutex.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _COROUTINE_MUTEX_H_ -#define _COROUTINE_MUTEX_H_ +#ifndef _LIBCR_IPC_MUTEX_H_ +#define _LIBCR_IPC_MUTEX_H_ #include <stdbool.h> /* for bool */ @@ -74,4 +74,4 @@ static inline void cr_mutex_unlock(cr_mutex_t *mu) { mu->locked = false; } -#endif /* _COROUTINE_MUTEX_H_ */ +#endif /* _LIBCR_IPC_MUTEX_H_ */ diff --git a/libcr_ipc/include/libcr_ipc/rpc.h b/libcr_ipc/include/libcr_ipc/rpc.h index 9c9c0d5..25c12d6 100644 --- a/libcr_ipc/include/libcr_ipc/rpc.h +++ b/libcr_ipc/include/libcr_ipc/rpc.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _COROUTINE_RPC_H_ -#define _COROUTINE_RPC_H_ +#ifndef _LIBCR_IPC_RPC_H_ +#define _LIBCR_IPC_RPC_H_ #include <stdbool.h> /* for bool */ @@ -157,4 +157,4 @@ cr_yield(); \ } -#endif /* _COROUTINE_RPC_H_ */ +#endif /* _LIBCR_IPC_RPC_H_ */ diff --git a/libcr_ipc/include/libcr_ipc/select.h b/libcr_ipc/include/libcr_ipc/select.h index 94b7643..3daffc2 100644 --- a/libcr_ipc/include/libcr_ipc/select.h +++ b/libcr_ipc/include/libcr_ipc/select.h @@ -12,8 +12,8 @@ #include <libcr_ipc/chan.h> -#ifndef _COROUTINE_SELECT_H_ -#define _COROUTINE_SELECT_H_ +#ifndef _LIBCR_IPC_SELECT_H_ +#define _LIBCR_IPC_SELECT_H_ /* arguments ******************************************************************/ @@ -221,4 +221,4 @@ static inline size_t _cr_select_l(struct cr_select_arg first_arg, ...) { return cr_select_v(arg_cnt, arg_vec); } -#endif /* _COROUTINE_SELECT_H_ */ +#endif /* _LIBCR_IPC_SELECT_H_ */ diff --git a/libcr_ipc/include/libcr_ipc/sema.h b/libcr_ipc/include/libcr_ipc/sema.h index aa749f9..ca2167f 100644 --- a/libcr_ipc/include/libcr_ipc/sema.h +++ b/libcr_ipc/include/libcr_ipc/sema.h @@ -4,8 +4,8 @@ * SPDX-Licence-Identifier: AGPL-3.0-or-later */ -#ifndef _COROUTINE_SEMA_H_ -#define _COROUTINE_SEMA_H_ +#ifndef _LIBCR_IPC_SEMA_H_ +#define _LIBCR_IPC_SEMA_H_ #include <libcr/coroutine.h> /* for cid_t, cr_unpause(), cr_pause_and_yield() */ @@ -88,4 +88,4 @@ static inline void cr_sema_wait(cr_sema_t *sema) { } } -#endif /* _COROUTINE_SEMA_H_ */ +#endif /* _LIBCR_IPC_SEMA_H_ */ |