From 5ef7716d48096f1ffbf55359e42b766508b28b23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 3 Nov 2002 03:14:05 +0000 Subject: [PATCH] Added a missing const to the (sys|user)_select() call. Broke binary compatibility for the notify_select_event(), since it obviously hasn't been used on R5 at all. The new API/implementation is much nicer to use. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1830 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/vfs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headers/private/kernel/vfs.h b/headers/private/kernel/vfs.h index ec084f2b20..fc4d94ab13 100755 --- a/headers/private/kernel/vfs.h +++ b/headers/private/kernel/vfs.h @@ -44,7 +44,7 @@ int vfs_setrlimit(int resource, const struct rlimit * rlp); // ToDo: for now; this prototype should be in os/drivers/Drivers.h // or similar places. -extern status_t notify_select_event(struct selectsync *sync, uint32 ref); +extern status_t notify_select_event(struct selectsync *sync, uint32 ref, uint8 event); /* calls needed by fs internals */ int vfs_get_vnode(mount_id mountID, vnode_id vnodeID, fs_vnode *v); @@ -89,7 +89,7 @@ int sys_access(const char *path, int mode); int sys_read_path_stat(const char *path, bool traverseLink, struct stat *stat); int sys_write_path_stat(const char *path, bool traverseLink, const struct stat *stat, int statMask); int sys_select(int numfds, fd_set *readSet, fd_set *writeSet, fd_set *errorSet, - bigtime_t timeout, sigset_t *sigMask); + bigtime_t timeout, const sigset_t *sigMask); int sys_poll(struct pollfd *fds, int numfds, bigtime_t timeout); int sys_open_attr_dir(int fd, const char *path); int sys_create_attr(int fd, const char *name, uint32 type, int openMode); @@ -129,7 +129,7 @@ int user_access(const char *path, int mode); int user_read_path_stat(const char *path, bool traverseLink, struct stat *stat); int user_write_path_stat(const char *path, bool traverseLink, const struct stat *stat, int statMask); int user_select(int numfds, fd_set *readSet, fd_set *writeSet, fd_set *errorSet, - bigtime_t timeout, sigset_t *sigMask); + bigtime_t timeout, const sigset_t *sigMask); int user_poll(struct pollfd *fds, int numfds, bigtime_t timeout); int user_open_attr_dir(int fd, const char *path); int user_create_attr(int fd, const char *name, uint32 type, int openMode);