summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/fsys-stubs.c8
-rw-r--r--libtrivfs/io-stubs.c18
2 files changed, 13 insertions, 13 deletions
diff --git a/libtrivfs/fsys-stubs.c b/libtrivfs/fsys-stubs.c
index 313328ab..44d411cc 100644
--- a/libtrivfs/fsys-stubs.c
+++ b/libtrivfs/fsys-stubs.c
@@ -22,7 +22,7 @@
#include "priv.h"
#include "trivfs_fsys_S.h"
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_fsys_startup (mach_port_t bootport,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -34,7 +34,7 @@ trivfs_S_fsys_startup (mach_port_t bootport,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_fsys_getpriv (struct trivfs_control *cntl,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -45,7 +45,7 @@ trivfs_S_fsys_getpriv (struct trivfs_control *cntl,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_fsys_init (struct trivfs_control *control,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -55,7 +55,7 @@ trivfs_S_fsys_init (struct trivfs_control *control,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_fsys_getfile (struct trivfs_control *cntl,
mach_port_t reply,
mach_msg_type_name_t replytype,
diff --git a/libtrivfs/io-stubs.c b/libtrivfs/io-stubs.c
index ab6b1b32..1686f3f9 100644
--- a/libtrivfs/io-stubs.c
+++ b/libtrivfs/io-stubs.c
@@ -22,7 +22,7 @@
#include "priv.h"
#include "trivfs_io_S.h"
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_map_cntl (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -32,7 +32,7 @@ trivfs_S_io_map_cntl (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_get_conch (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype)
@@ -40,7 +40,7 @@ trivfs_S_io_get_conch (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_release_conch (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype)
@@ -48,7 +48,7 @@ trivfs_S_io_release_conch (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_eofnotify (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype)
@@ -56,7 +56,7 @@ trivfs_S_io_eofnotify (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_prenotify (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -66,7 +66,7 @@ trivfs_S_io_prenotify (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_postnotify (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype,
@@ -76,7 +76,7 @@ trivfs_S_io_postnotify (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_readsleep (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype)
@@ -84,7 +84,7 @@ trivfs_S_io_readsleep (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_sigio (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype)
@@ -92,7 +92,7 @@ trivfs_S_io_sigio (struct trivfs_protid *cred,
return EOPNOTSUPP;
}
-kern_return_t
+kern_return_t __attribute__((weak))
trivfs_S_io_readnotify (struct trivfs_protid *cred,
mach_port_t reply,
mach_msg_type_name_t replytype)