From 83383b59bdcf8860c006c2934edf9b4dcb913282 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Mon, 12 Jan 2015 22:13:30 +0000 Subject: [PATCH] unistd/syscalls: Fix 6502 type warnings --- Library/include/syscalls.h | 1 - Library/include/unistd.h | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Library/include/syscalls.h b/Library/include/syscalls.h index a93958df..acebd1f9 100644 --- a/Library/include/syscalls.h +++ b/Library/include/syscalls.h @@ -74,7 +74,6 @@ struct hd_geometry { #define HDIO_GET_IDENTITY 0x0102 /* Not yet implemented anywhere */ extern int _exit(int code); -extern int alarm(int16_t secs); extern int open(const char *path, int flags, ...); extern int close(int fd); extern int creat(const char *path, mode_t mode); diff --git a/Library/include/unistd.h b/Library/include/unistd.h index 7f40c41d..7d018b03 100644 --- a/Library/include/unistd.h +++ b/Library/include/unistd.h @@ -40,7 +40,7 @@ extern int execvpe __P((char *pathname, char *argv[], char *envp[])); extern char *ttyname __P((int)); extern int system __P((char *)); extern int pause __P((void)); -extern int fork __P((void)); +extern pid_t fork __P((void)); extern char *getcwd __P((char *, int)); extern long sysconf __P((int name)); -- 2.34.1