summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-01-03 22:48:20 -0500
committerIan Moffett <ian@osmora.org>2025-01-03 22:48:20 -0500
commita07cb9730a4df7f40178286837e2d1c73594858b (patch)
treecf5143be803cb1e5d35c2d2e10924315afa9e5ed /lib
parent817d1adc7a194082259bcd86f757f7ce48b9ad75 (diff)
libc: unistd: Add __BEGIN_DECLS/__END_DECLS
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/include/unistd.h5
1 files changed, 5 insertions, 0 deletions
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 <sys/types.h>
+#include <sys/cdefs.h>
+
+__BEGIN_DECLS
ssize_t read(int fd, void *buf, size_t count);
int close(int fd);
+__END_DECLS
+
#endif /* !_UNISTD_H */