From 89761191a98f7dce4d1049b9a84c3d645378222a Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Sun, 27 Oct 2024 23:16:58 -0600 Subject: Lint that include-guards match the filename --- libcr_ipc/include/libcr_ipc/_linkedlist.h | 6 +++--- libcr_ipc/include/libcr_ipc/chan.h | 6 +++--- libcr_ipc/include/libcr_ipc/mutex.h | 6 +++--- libcr_ipc/include/libcr_ipc/rpc.h | 6 +++--- libcr_ipc/include/libcr_ipc/select.h | 6 +++--- libcr_ipc/include/libcr_ipc/sema.h | 6 +++--- 6 files changed, 18 insertions(+), 18 deletions(-) (limited to 'libcr_ipc') 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 @@ -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 /* for bool */ #include /* 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 /* 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 /* 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 -#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 /* 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_ */ -- cgit v1.2.3-2-g168b