diff options
| author | Bernard Xiong <[email protected]> | 2019-12-16 13:59:46 +0800 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2019-12-16 13:59:46 +0800 |
| commit | 992d3af3aee1e8567080e33e27011170f60dfab9 (patch) | |
| tree | 798e505503755b6a600a87d4b379e181a06c407d /include | |
| parent | bb9a55817ce1504b25add4572be914993f742461 (diff) | |
[kernel] code and comments cleanup
Diffstat (limited to 'include')
| -rw-r--r-- | include/libc/libc_signal.h | 6 | ||||
| -rw-r--r-- | include/rtdef.h | 2 | ||||
| -rw-r--r-- | include/rthw.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/libc/libc_signal.h b/include/libc/libc_signal.h index 71f8de125d..c77f36798c 100644 --- a/include/libc/libc_signal.h +++ b/include/libc/libc_signal.h @@ -24,7 +24,7 @@ extern "C" { NOTE: P1003.1c/D10, p. 34 adds sigev_notify_function and sigev_notify_attributes to the sigevent structure. */ -union sigval +union sigval { int sival_int; /* Integer signal value */ void *sival_ptr; /* Pointer signal value */ @@ -107,7 +107,7 @@ typedef unsigned long sigset_t; typedef void (*_sig_func_ptr)(int); -struct sigaction +struct sigaction { _sig_func_ptr sa_handler; sigset_t sa_mask; @@ -163,7 +163,7 @@ typedef unsigned long sigset_t; typedef void (*_sig_func_ptr)(int); -struct sigaction +struct sigaction { _sig_func_ptr sa_handler; sigset_t sa_mask; diff --git a/include/rtdef.h b/include/rtdef.h index 3f0b116785..b3aa38d3af 100644 --- a/include/rtdef.h +++ b/include/rtdef.h @@ -522,7 +522,7 @@ typedef siginfo_t rt_siginfo_t; /** * CPUs definitions - * + * */ struct rt_cpu { diff --git a/include/rthw.h b/include/rthw.h index 2a602dcfe7..89877faf90 100644 --- a/include/rthw.h +++ b/include/rthw.h @@ -37,7 +37,7 @@ extern "C" { #endif #ifndef RT_CPU_CACHE_LINE_SZ -#define RT_CPU_CACHE_LINE_SZ 32 +#define RT_CPU_CACHE_LINE_SZ 32 #endif enum RT_HW_CACHE_OPS |
