From a07cb9730a4df7f40178286837e2d1c73594858b Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Fri, 3 Jan 2025 22:48:20 -0500 Subject: libc: unistd: Add __BEGIN_DECLS/__END_DECLS Signed-off-by: Ian Moffett --- lib/libc/include/unistd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/libc/include/unistd.h') diff --git a/lib/libc/include/unistd.h b/lib/libc/include/unistd.h index ebc9ff6..97ef565 100644 --- a/lib/libc/include/unistd.h +++ b/lib/libc/include/unistd.h @@ -31,8 +31,13 @@ #define _UNISTD_H #include +#include + +__BEGIN_DECLS ssize_t read(int fd, void *buf, size_t count); int close(int fd); +__END_DECLS + #endif /* !_UNISTD_H */ -- cgit v1.2.3