diff options
| author | Nicolas Pitre <nico@org.rmk.(none)> | 2004-09-07 19:25:43 +0100 |
|---|---|---|
| committer | Russell King <rmk@flint.arm.linux.org.uk> | 2004-09-07 19:25:43 +0100 |
| commit | 7cee9ef11cc304e57b03042a9f57baa6036dae4b (patch) | |
| tree | 6ada532197dbeb4d4b353d97239e5e9a19e57542 /include | |
| parent | c380e33bb464197182b06ad368c9783c806dfa63 (diff) | |
[ARM PATCH] 2068/2: fix more gcc-3.4.1 warnings
Patch from Nicolas Pitre
This patch removes a bunch of inline functions from unistd.h on ARM. Some of
them were conflicting with gcc's idea of how they should normally be declared,
and none of them are used anymore.
Signed-off-by: Nicolas Pitre
Diffstat (limited to 'include')
| -rw-r--r-- | include/asm-arm/unistd.h | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/include/asm-arm/unistd.h b/include/asm-arm/unistd.h index 1435eb396b73..add553f1eb79 100644 --- a/include/asm-arm/unistd.h +++ b/include/asm-arm/unistd.h @@ -475,51 +475,6 @@ type name(type1 arg1, type2 arg2, type3 arg3, type4 arg4, type5 arg5, type6 arg6 #include <linux/types.h> #include <linux/syscalls.h> -static inline pid_t setsid(void) -{ - return sys_setsid(); -} - -static inline long write(int fd, const char *buf, off_t count) -{ - return sys_write(fd, buf, count); -} - -static inline long read(int fd, char *buf, off_t count) -{ - return sys_read(fd, buf, count); -} - -static inline off_t lseek(int fd, off_t offset, int count) -{ - return sys_lseek(fd, offset, count); -} - -static inline long dup(int fd) -{ - return sys_dup(fd); -} - -static inline long open(const char *file, int flag, int mode) -{ - return sys_open(file, flag, mode); -} - -static inline long close(int fd) -{ - return sys_close(fd); -} - -static inline long _exit(int exitcode) -{ - return sys_exit(exitcode); -} - -static inline pid_t waitpid(pid_t pid, int *wait_stat, int options) -{ - return sys_wait4((int)pid, wait_stat, options, NULL); -} - extern long execve(const char *file, char **argv, char **envp); struct pt_regs; |
