diff options
Diffstat (limited to 'Libraries')
-rw-r--r-- | Libraries/LibC/unistd.cpp | 6 | ||||
-rw-r--r-- | Libraries/LibC/unistd.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/Libraries/LibC/unistd.cpp b/Libraries/LibC/unistd.cpp index 7b1bc2dd0f..37ec81c8e7 100644 --- a/Libraries/LibC/unistd.cpp +++ b/Libraries/LibC/unistd.cpp @@ -439,12 +439,6 @@ void sync() syscall(SC_sync); } -int read_tsc(unsigned* lsw, unsigned* msw) -{ - int rc = syscall(SC_read_tsc, lsw, msw); - __RETURN_WITH_ERRNO(rc, rc, -1); -} - int create_shared_buffer(int size, void** buffer) { int rc = syscall(SC_create_shared_buffer, size, buffer); diff --git a/Libraries/LibC/unistd.h b/Libraries/LibC/unistd.h index d9f8d590b3..ccc1b43eda 100644 --- a/Libraries/LibC/unistd.h +++ b/Libraries/LibC/unistd.h @@ -43,7 +43,6 @@ int release_shared_buffer(int shared_buffer_id); int seal_shared_buffer(int shared_buffer_id); int get_shared_buffer_size(int shared_buffer_id); int set_process_icon(int icon_id); -int read_tsc(unsigned* lsw, unsigned* msw); inline int getpagesize() { return 4096; } pid_t fork(); int execv(const char* path, char* const argv[]); |