diff options
author | Justus Winter <justus@gnupg.org> | 2017-08-29 12:27:58 +0200 |
---|---|---|
committer | Justus Winter <justus@gnupg.org> | 2017-09-01 11:20:31 +0200 |
commit | 973089f3832df9887259e1927f7ead800d9dd897 (patch) | |
tree | 873ed6d1c8ea26d818071d02504c94872e6b01bc /trans | |
parent | 812117cfbd76fadfd6c20913db665619070c170e (diff) | |
download | hurd-973089f3832df9887259e1927f7ead800d9dd897.tar.gz hurd-973089f3832df9887259e1927f7ead800d9dd897.tar.bz2 hurd-973089f3832df9887259e1927f7ead800d9dd897.zip |
Remove unused parameter from the 'get_source' machinery.
* libdiskfs/diskfs.h (diskfs_get_source): Remove first parameter.
* libdiskfs/file-get-source.c (diskfs_S_file_get_source): Adapt
callsite.
* libdiskfs/get-source.c (diskfs_get_source): Adapt default
implementation.
* libnetfs/netfs.h (netfs_get_source): Remove first parameter.
* libnetfs/file-get-source.c (netfs_S_file_get_source): Adapt
callsite.
* libnetfs/get-source.c (netfs_get_source): Adapt default
implementation.
* libtrivfs/trivfs.h (trivfs_get_source): Remove first parameter.
* libtrivfs/file-get-source.c (trivfs_S_file_get_source): Adapt
callsite.
* libtrivfs/get-source.c (trivfs_get_source): Adapt default
implementation.
* nfs/main.c (netfs_get_source): Adapt implementation.
* procfs/main.c (netfs_get_source): Likewise.
* trans/firmlink.c (trivfs_get_source): Likewise.
Diffstat (limited to 'trans')
-rw-r--r-- | trans/firmlink.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/trans/firmlink.c b/trans/firmlink.c index 19382f10..ca094ecf 100644 --- a/trans/firmlink.c +++ b/trans/firmlink.c @@ -287,8 +287,7 @@ trivfs_S_io_select_timeout (struct trivfs_protid *cred, return trivfs_S_io_select (cred, reply, reply_type, type); } -error_t trivfs_get_source (struct trivfs_protid *cred, - char *source, size_t source_len) +error_t trivfs_get_source (char *source, size_t source_len) { strncpy (source, target, source_len - 1); source[source_len -1 ] = '\0'; |