diff options
| author | Bernard Xiong <[email protected]> | 2019-12-17 07:54:51 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-12-17 07:54:51 +0800 |
| commit | 75a3f3dd3a930eab1dc58fa0258a9d1605a0ac11 (patch) | |
| tree | 12026397ecdf3d3afa0a2abf5c33249d51186c6f /include | |
| parent | b9052a52e7ee65ffa3ad5695d921a6c86db205ac (diff) | |
| parent | 992d3af3aee1e8567080e33e27011170f60dfab9 (diff) | |
Merge pull request #3265 from BernardXiong/comments_cleanup
[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 |
