From a620b00b18daf2830e926a2a1c0eb23c50bcde8c Mon Sep 17 00:00:00 2001 From: apio Date: Sun, 8 Jan 2023 15:29:30 +0100 Subject: [PATCH] Unify libc header descriptions --- libc/include/bits/errno-return.h | 2 +- libc/include/bits/timespec.h | 2 +- libc/include/ctype.h | 2 +- libc/include/sys/syscall.h | 3 ++- libc/include/time.h | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/libc/include/bits/errno-return.h b/libc/include/bits/errno-return.h index 9d60c005..aa8d9492 100644 --- a/libc/include/bits/errno-return.h +++ b/libc/include/bits/errno-return.h @@ -1,4 +1,4 @@ -/* bits/errno-return.h: Provides a convenient way of setting errno after a syscall. */ +/* bits/errno-return.h: A convenient way of setting errno after a syscall. */ #ifndef _BITS_ERRNO_RETURN_H #define _BITS_ERRNO_RETURN_H diff --git a/libc/include/bits/timespec.h b/libc/include/bits/timespec.h index 4b7afe42..a5866912 100644 --- a/libc/include/bits/timespec.h +++ b/libc/include/bits/timespec.h @@ -1,4 +1,4 @@ -/* bits/timespec.h: Defines the timespec structure. */ +/* bits/timespec.h: The timespec structure. */ #ifndef _BITS_TIMESPEC_H #define _BITS_TIMESPEC_H diff --git a/libc/include/ctype.h b/libc/include/ctype.h index c5a96941..8bcb16d9 100644 --- a/libc/include/ctype.h +++ b/libc/include/ctype.h @@ -1,4 +1,4 @@ -/* ctype.h: Character handling functions. */ +/* ctype.h: Character handling. */ #ifndef _CTYPE_H #define _CTYPE_H diff --git a/libc/include/sys/syscall.h b/libc/include/sys/syscall.h index 683832f9..856bda76 100644 --- a/libc/include/sys/syscall.h +++ b/libc/include/sys/syscall.h @@ -1,9 +1,10 @@ -/* sys/syscall.h: Defines syscall numbers. */ +/* sys/syscall.h: Syscall constants. */ #ifndef _SYS_SYSCALL_H #define _SYS_SYSCALL_H /* This header just forwards to luna/Syscall.h, which is used in the kernel as well. */ #include +#undef enumerate_syscalls #endif diff --git a/libc/include/time.h b/libc/include/time.h index 1698cd48..27979f90 100644 --- a/libc/include/time.h +++ b/libc/include/time.h @@ -1,4 +1,4 @@ -/* time.h: Time management functions. */ +/* time.h: Time management. */ #ifndef _TIME_H #define _TIME_H