summaryrefslogtreecommitdiff
path: root/LibC/poll.cpp
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-04 16:16:50 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-04 16:16:50 +0200
commit04b9dc2d30cfc9b383029f6a4b02e2725108b0ae (patch)
treee117a998173b767f9fd009d49c4f8573d8b85432 /LibC/poll.cpp
parent63814ffebf16291419745cd8ba29a4d2fd888563 (diff)
downloadserenity-04b9dc2d30cfc9b383029f6a4b02e2725108b0ae.zip
Libraries: Create top level directory for libraries.
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.
Diffstat (limited to 'LibC/poll.cpp')
-rw-r--r--LibC/poll.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/LibC/poll.cpp b/LibC/poll.cpp
deleted file mode 100644
index 9394048801..0000000000
--- a/LibC/poll.cpp
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <Kernel/Syscall.h>
-#include <errno.h>
-#include <poll.h>
-
-extern "C" {
-
-int poll(struct pollfd* fds, int nfds, int timeout)
-{
- int rc = syscall(SC_poll, fds, nfds, timeout);
- __RETURN_WITH_ERRNO(rc, rc, -1);
-}
-}