summaryrefslogtreecommitdiffhomepage
path: root/src/libPOSIXWrapper/POSIXKit/unistd.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libPOSIXWrapper/POSIXKit/unistd.h')
-rw-r--r--src/libPOSIXWrapper/POSIXKit/unistd.h17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/libPOSIXWrapper/POSIXKit/unistd.h b/src/libPOSIXWrapper/POSIXKit/unistd.h
index 0e133c89..96701f35 100644
--- a/src/libPOSIXWrapper/POSIXKit/unistd.h
+++ b/src/libPOSIXWrapper/POSIXKit/unistd.h
@@ -3,19 +3,6 @@
// Licensed under the Apache License, Version 2.0 (see LICENSE file)
// Official repository: https://github.com/ne-foss-org/nekernel
-#ifndef LIBPOSIX_POSIXKIT_UNISTD_H
-#define LIBPOSIX_POSIXKIT_UNISTD_H
+#pragma once
-#include <libSystem/SystemKit/System.h>
-
-/// @file Unistd.h
-/// @brief POSIX Standard Header for NeKernel.
-
-#define _POSIX_SOURCE __POSIX_SOURCE__
-#define _XOPEN_SOURCE __XOPEN_SOURCE__
-
-IMPORT_C SInt64 write(SizeT count, SInt32 fd, Void* data, SizeT sz);
-
-IMPORT_C SInt64 read(SizeT count, SInt32 fd, Void* data, SizeT sz);
-
-#endif // LIBPOSIX_POSIXKIT_UNISTD_H
+#include <libPOSIXWrapper/POSIXKit/POSIX.h>