aboutsummaryrefslogtreecommitdiff
path: root/libnetfs/set-get-trans.c
diff options
context:
space:
mode:
Diffstat (limited to 'libnetfs/set-get-trans.c')
-rw-r--r--libnetfs/set-get-trans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnetfs/set-get-trans.c b/libnetfs/set-get-trans.c
index b58668d8..c0a4370e 100644
--- a/libnetfs/set-get-trans.c
+++ b/libnetfs/set-get-trans.c
@@ -28,7 +28,7 @@
/* The user may define this function. Attempt to set the passive
translator record for FILE to ARGZ (of length ARGZLEN) for user
CRED. */
-error_t
+error_t __attribute__ ((weak))
netfs_set_translator (struct iouser *cred, struct node *np,
char *argz, size_t argzlen)
{
@@ -40,7 +40,7 @@ netfs_set_translator (struct iouser *cred, struct node *np,
mode, look up the name of its translator. Store the name into newly
malloced storage, and return it in *ARGZ; set *ARGZ_LEN to the total
length. */
-error_t
+error_t __attribute__ ((weak))
netfs_get_translator (struct node *node, char **argz, size_t *argz_len)
{
return EOPNOTSUPP;