diff options
Diffstat (limited to 'libdiskfs')
-rw-r--r-- | libdiskfs/io-stubs.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libdiskfs/io-stubs.c b/libdiskfs/io-stubs.c index 592b3d8b..103591f0 100644 --- a/libdiskfs/io-stubs.c +++ b/libdiskfs/io-stubs.c @@ -23,7 +23,7 @@ /* Implement io_readsleep as described in <hurd/io.defs> Semantics of ordinary files say this shouldn't happen, because we never set use_read_size in the shared data. */ -kern_return_t +kern_return_t __attribute__((weak)) diskfs_S_io_readsleep (struct protid *cred) { if (!cred) @@ -34,7 +34,7 @@ diskfs_S_io_readsleep (struct protid *cred) /* Implement io_eofnotify as described in <hurd/io.defs>. We don't use this feature. */ -kern_return_t +kern_return_t __attribute__((weak)) diskfs_S_io_eofnotify (struct protid *cred) { if (!cred) @@ -45,7 +45,7 @@ diskfs_S_io_eofnotify (struct protid *cred) /* Implement io_postnotify as described in <hurd/io.defs>. We don't use this feature. */ -kern_return_t +kern_return_t __attribute__((weak)) diskfs_S_io_postnotify (struct protid *cred, vm_offset_t start __attribute__ ((unused)), vm_offset_t end __attribute__ ((unused))) @@ -55,7 +55,7 @@ diskfs_S_io_postnotify (struct protid *cred, /* Implement io_readnotify as described in <hurd/io.defs>. We don't use this feature. */ -kern_return_t +kern_return_t __attribute__((weak)) diskfs_S_io_readnotify (struct protid *cred) { return cred ? 0 : EOPNOTSUPP; |