diff options
author | Richard Braun <rbraun@sceen.net> | 2018-02-24 05:13:39 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2018-02-24 06:07:24 +0100 |
commit | be5b9d6ab9f7e7a81c367e4bb0823ba11f85940f (patch) | |
tree | 3d8a70e30c8073e210c637fcca2185aa0f71f179 /kern/mutex | |
parent | 64830974a086e53ea1bc5e628e8955db83ff797a (diff) |
Don't use reserved identifiers
Diffstat (limited to 'kern/mutex')
-rw-r--r-- | kern/mutex/mutex_adaptive_i.h | 8 | ||||
-rw-r--r-- | kern/mutex/mutex_adaptive_types.h | 8 | ||||
-rw-r--r-- | kern/mutex/mutex_pi_i.h | 8 | ||||
-rw-r--r-- | kern/mutex/mutex_pi_types.h | 8 | ||||
-rw-r--r-- | kern/mutex/mutex_plain_i.h | 8 | ||||
-rw-r--r-- | kern/mutex/mutex_plain_types.h | 8 |
6 files changed, 24 insertions, 24 deletions
diff --git a/kern/mutex/mutex_adaptive_i.h b/kern/mutex/mutex_adaptive_i.h index 6ff1277..ce2ac4f 100644 --- a/kern/mutex/mutex_adaptive_i.h +++ b/kern/mutex/mutex_adaptive_i.h @@ -15,10 +15,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _KERN_MUTEX_ADAPTIVE_I_H -#define _KERN_MUTEX_ADAPTIVE_I_H +#ifndef KERN_MUTEX_ADAPTIVE_I_H +#define KERN_MUTEX_ADAPTIVE_I_H -#ifndef _KERN_MUTEX_H +#ifndef KERN_MUTEX_H #error "don't include <kern/mutex/mutex_adaptive_i.h> directly," \ " use <kern/mutex.h> instead" #endif @@ -143,4 +143,4 @@ INIT_OP_DECLARE(mutex_adaptive_bootstrap); #define mutex_impl_setup mutex_adaptive_setup INIT_OP_DECLARE(mutex_adaptive_setup); -#endif /* _KERN_MUTEX_ADAPTIVE_I_H */ +#endif /* KERN_MUTEX_ADAPTIVE_I_H */ diff --git a/kern/mutex/mutex_adaptive_types.h b/kern/mutex/mutex_adaptive_types.h index efbbf21..40270f6 100644 --- a/kern/mutex/mutex_adaptive_types.h +++ b/kern/mutex/mutex_adaptive_types.h @@ -18,10 +18,10 @@ * Isolated type definition used to avoid inclusion circular dependencies. */ -#ifndef _KERN_MUTEX_ADAPTIVE_TYPES_H -#define _KERN_MUTEX_ADAPTIVE_TYPES_H +#ifndef KERN_MUTEX_ADAPTIVE_TYPES_H +#define KERN_MUTEX_ADAPTIVE_TYPES_H -#ifndef _KERN_MUTEX_TYPES_H +#ifndef KERN_MUTEX_TYPES_H #error "don't include <kern/mutex/mutex_adaptive_types.h> directly," \ " use <kern/mutex_types.h> instead" #endif @@ -32,4 +32,4 @@ struct mutex { uintptr_t owner; }; -#endif /* _KERN_MUTEX_ADAPTIVE_TYPES_H */ +#endif /* KERN_MUTEX_ADAPTIVE_TYPES_H */ diff --git a/kern/mutex/mutex_pi_i.h b/kern/mutex/mutex_pi_i.h index 14f63be..f3bb28f 100644 --- a/kern/mutex/mutex_pi_i.h +++ b/kern/mutex/mutex_pi_i.h @@ -15,10 +15,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _KERN_MUTEX_PI_I_H -#define _KERN_MUTEX_PI_I_H +#ifndef KERN_MUTEX_PI_I_H +#define KERN_MUTEX_PI_I_H -#ifndef _KERN_MUTEX_H +#ifndef KERN_MUTEX_H #error "don't include <kern/mutex/mutex_pi_i.h> directly," \ " use <kern/mutex.h> instead" #endif @@ -72,4 +72,4 @@ mutex_impl_unlock(struct mutex *mutex) #define mutex_impl_bootstrap rtmutex_bootstrap #define mutex_impl_setup rtmutex_setup -#endif /* _KERN_MUTEX_PI_I_H */ +#endif /* KERN_MUTEX_PI_I_H */ diff --git a/kern/mutex/mutex_pi_types.h b/kern/mutex/mutex_pi_types.h index d9ebb6e..f511cbc 100644 --- a/kern/mutex/mutex_pi_types.h +++ b/kern/mutex/mutex_pi_types.h @@ -18,10 +18,10 @@ * Isolated type definition used to avoid inclusion circular dependencies. */ -#ifndef _KERN_MUTEX_PI_TYPES_H -#define _KERN_MUTEX_PI_TYPES_H +#ifndef KERN_MUTEX_PI_TYPES_H +#define KERN_MUTEX_PI_TYPES_H -#ifndef _KERN_MUTEX_TYPES_H +#ifndef KERN_MUTEX_TYPES_H #error "don't include <kern/mutex/mutex_pi_types.h> directly," \ " use <kern/mutex_types.h> instead" #endif @@ -36,4 +36,4 @@ struct mutex { struct rtmutex rtmutex; }; -#endif /* _KERN_MUTEX_PI_TYPES_H */ +#endif /* KERN_MUTEX_PI_TYPES_H */ diff --git a/kern/mutex/mutex_plain_i.h b/kern/mutex/mutex_plain_i.h index 74def89..0c58174 100644 --- a/kern/mutex/mutex_plain_i.h +++ b/kern/mutex/mutex_plain_i.h @@ -15,10 +15,10 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _KERN_MUTEX_PLAIN_I_H -#define _KERN_MUTEX_PLAIN_I_H +#ifndef KERN_MUTEX_PLAIN_I_H +#define KERN_MUTEX_PLAIN_I_H -#ifndef _KERN_MUTEX_H +#ifndef KERN_MUTEX_H #error "don't include <kern/mutex/mutex_plain_i.h> directly," \ " use <kern/mutex.h> instead" #endif @@ -137,4 +137,4 @@ INIT_OP_DECLARE(mutex_plain_bootstrap); #define mutex_impl_setup mutex_plain_setup INIT_OP_DECLARE(mutex_plain_setup); -#endif /* _KERN_MUTEX_PLAIN_I_H */ +#endif /* KERN_MUTEX_PLAIN_I_H */ diff --git a/kern/mutex/mutex_plain_types.h b/kern/mutex/mutex_plain_types.h index 02731e9..c666f66 100644 --- a/kern/mutex/mutex_plain_types.h +++ b/kern/mutex/mutex_plain_types.h @@ -18,10 +18,10 @@ * Isolated type definition used to avoid inclusion circular dependencies. */ -#ifndef _KERN_MUTEX_PLAIN_TYPES_H -#define _KERN_MUTEX_PLAIN_TYPES_H +#ifndef KERN_MUTEX_PLAIN_TYPES_H +#define KERN_MUTEX_PLAIN_TYPES_H -#ifndef _KERN_MUTEX_TYPES_H +#ifndef KERN_MUTEX_TYPES_H #error "don't include <kern/mutex/mutex_plain_types.h> directly," \ " use <kern/mutex_types.h> instead" #endif @@ -30,4 +30,4 @@ struct mutex { unsigned int state; }; -#endif /* _KERN_MUTEX_PLAIN_TYPES_H */ +#endif /* KERN_MUTEX_PLAIN_TYPES_H */ |