summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-03 01:53:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-11-03 01:53:17 +0100
commit89abef408f02e463cfe9d462fa10be64a94b3b36 (patch)
tree74881e20527766c31b7bb6007fa4e3a26a9adf04 /libtrivfs
parentbd611d2bbd2a7faa24ce8d3b1a422cebb8f71e8b (diff)
Fix optional definitions in static binaries
* libcons/extra-version.c (cons_extra_version): Add weak attribute. * libcons/vcons-add.c (cons_vcons_add): Likewise. * libcons/vcons-remove.c (cons_vcons_remove): Likewise. * libdiskfs/extra-version.c (diskfs_extra_version): Likewise. * libdiskfs/get-source.c (diskfs_get_source): Likewise. * libdiskfs/readonly-changed.c (diskfs_readonly_changed): Likewise. * libdiskfs/sync-default.c (diskfs_default_sync_interval): Likewise. * libdiskfs/validate-author.c (diskfs_validate_author_change): Likewise. * libdiskfs/validate-flags.c (diskfs_validate_flags_change): Likewise. * libdiskfs/validate-group.c (diskfs_validate_group_change): Likewise. * libdiskfs/validate-mode.c (diskfs_validate_mode_change): Likewise. * libdiskfs/validate-owner.c (diskfs_validate_owner_change): Likewise. * libdiskfs/validate-rdev.c (diskfs_validate_rdev_change): Likewise. * libnetfs/file-get-storage-info-default.c (netfs_file_get_storage_info): Likewise. * libnetfs/get-source.c (netfs_get_source): Likewise. * libnetfs/set-get-trans.c (netfs_set_translator, netfs_get_translator): Likewise. * libtrivfs/get-source.c (trivfs_get_source): Likewise.
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/get-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/get-source.c b/libtrivfs/get-source.c
index 2605dacc..1b3ce11d 100644
--- a/libtrivfs/get-source.c
+++ b/libtrivfs/get-source.c
@@ -21,7 +21,7 @@
#include "priv.h"
-error_t
+error_t __attribute__ ((weak))
trivfs_get_source (struct trivfs_protid *cred, char *source, size_t source_len)
{
return EOPNOTSUPP;