diff options
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/fsstubs.c | 6 | ||||
-rw-r--r-- | libnetfs/fsysstubs.c | 10 | ||||
-rw-r--r-- | libnetfs/iostubs.c | 20 |
3 files changed, 18 insertions, 18 deletions
diff --git a/libnetfs/fsstubs.c b/libnetfs/fsstubs.c index 75bd7903..b260f5da 100644 --- a/libnetfs/fsstubs.c +++ b/libnetfs/fsstubs.c @@ -23,21 +23,21 @@ #include "fs_S.h" #include "ifsock_S.h" -error_t +error_t __attribute__((weak)) netfs_S_file_notice_changes (struct protid *user, mach_port_t port) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_file_getfh (struct protid *user, char **data, mach_msg_type_number_t *ndata) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_ifsock_getsockaddr (struct protid *user, mach_port_t *address) { diff --git a/libnetfs/fsysstubs.c b/libnetfs/fsysstubs.c index a64fd643..6cf12cc8 100644 --- a/libnetfs/fsysstubs.c +++ b/libnetfs/fsysstubs.c @@ -22,7 +22,7 @@ #include "netfs.h" #include "fsys_S.h" -error_t +error_t __attribute__((weak)) netfs_S_fsys_getfile (struct netfs_control *cntl, mach_port_t reply, mach_msg_type_name_t reply_type, @@ -34,7 +34,7 @@ netfs_S_fsys_getfile (struct netfs_control *cntl, return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_fsys_getpriv (struct netfs_control *cntl, mach_port_t reply, mach_msg_type_name_t reply_type, @@ -45,7 +45,7 @@ netfs_S_fsys_getpriv (struct netfs_control *cntl, return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_fsys_init (struct netfs_control *cntl, mach_port_t reply, mach_msg_type_name_t reply_type, @@ -54,7 +54,7 @@ netfs_S_fsys_init (struct netfs_control *cntl, return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_fsys_forward (mach_port_t cntl, mach_port_t reply, mach_msg_type_name_t reply_type, @@ -64,7 +64,7 @@ netfs_S_fsys_forward (mach_port_t cntl, return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_fsys_startup (mach_port_t bootstrap, mach_port_t reply, mach_msg_type_name_t reply_type, diff --git a/libnetfs/iostubs.c b/libnetfs/iostubs.c index 1465b43a..a5ff4504 100644 --- a/libnetfs/iostubs.c +++ b/libnetfs/iostubs.c @@ -22,7 +22,7 @@ #include "netfs.h" #include "io_S.h" -error_t +error_t __attribute__((weak)) netfs_S_io_map (struct protid *user, mach_port_t *rdobj, mach_msg_type_name_t *rdobjtype, mach_port_t *wrobj, mach_msg_type_name_t *wrobjtype) @@ -30,7 +30,7 @@ netfs_S_io_map (struct protid *user, return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_map_cntl (struct protid *user, mach_port_t *obj, mach_msg_type_name_t *objtype) @@ -38,51 +38,51 @@ netfs_S_io_map_cntl (struct protid *user, return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_get_conch (struct protid *user) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_release_conch (struct protid *user) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_eofnotify (struct protid *user) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_prenotify (struct protid *user, vm_offset_t start, vm_offset_t stop) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_postnotify (struct protid *user, vm_offset_t start, vm_offset_t stop) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_readnotify (struct protid *user) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_readsleep (struct protid *user) { return EOPNOTSUPP; } -error_t +error_t __attribute__((weak)) netfs_S_io_sigio (struct protid *user) { return EOPNOTSUPP; |