diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-01 13:53:31 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-01 18:05:00 +0100 |
commit | a8d51bf0ce26fd26e00338540857f43b8a99e126 (patch) | |
tree | 917f249fbf6873280161959c74a71b8edb0f4cea /libtrivfs | |
parent | e2b75a67395fbbdd36bb0bceaea2465a2a1fa172 (diff) | |
download | hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.tar.gz hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.tar.bz2 hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.zip |
Fix build warnings
No actual behavior change.
Diffstat (limited to 'libtrivfs')
-rw-r--r-- | libtrivfs/fsys-get-source.c | 2 | ||||
-rw-r--r-- | libtrivfs/fsys-getroot.c | 2 | ||||
-rw-r--r-- | libtrivfs/io-version.c | 4 |
3 files changed, 5 insertions, 3 deletions
diff --git a/libtrivfs/fsys-get-source.c b/libtrivfs/fsys-get-source.c index 5d063eb8..37ae57d7 100644 --- a/libtrivfs/fsys-get-source.c +++ b/libtrivfs/fsys-get-source.c @@ -30,7 +30,7 @@ error_t trivfs_S_fsys_get_source (struct trivfs_control *fsys, mach_port_t reply, mach_msg_type_name_t replyPoly, - char *source) + string_t source) { return fsys ? trivfs_get_source (source, 1024 /* XXX */) : EOPNOTSUPP; } diff --git a/libtrivfs/fsys-getroot.c b/libtrivfs/fsys-getroot.c index eac13284..6542ab16 100644 --- a/libtrivfs/fsys-getroot.c +++ b/libtrivfs/fsys-getroot.c @@ -35,7 +35,7 @@ trivfs_S_fsys_getroot (struct trivfs_control *cntl, uid_t *gids, size_t ngids, int flags, retry_type *do_retry, - char *retry_name, + string_t retry_name, mach_port_t *newpt, mach_msg_type_name_t *newpttype) { diff --git a/libtrivfs/io-version.c b/libtrivfs/io-version.c index 59a0ebef..206dd767 100644 --- a/libtrivfs/io-version.c +++ b/libtrivfs/io-version.c @@ -15,6 +15,8 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdio.h> + #include "priv.h" #include "trivfs_io_S.h" @@ -22,7 +24,7 @@ kern_return_t trivfs_S_io_server_version (trivfs_protid_t obj, mach_port_t reply, mach_msg_type_name_t replytype, - char *name, + string_t name, int *maj, int *min, int *edit) |