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 /libdiskfs | |
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 'libdiskfs')
-rw-r--r-- | libdiskfs/dir-link.c | 2 | ||||
-rw-r--r-- | libdiskfs/dir-lookup.c | 4 | ||||
-rw-r--r-- | libdiskfs/dir-mkdir.c | 2 | ||||
-rw-r--r-- | libdiskfs/dir-rename.c | 4 | ||||
-rw-r--r-- | libdiskfs/dir-unlink.c | 2 | ||||
-rw-r--r-- | libdiskfs/file-exec.c | 4 | ||||
-rw-r--r-- | libdiskfs/fsys-get-source.c | 2 | ||||
-rw-r--r-- | libdiskfs/fsys-getroot.c | 2 | ||||
-rw-r--r-- | libdiskfs/io-version.c | 2 |
9 files changed, 12 insertions, 12 deletions
diff --git a/libdiskfs/dir-link.c b/libdiskfs/dir-link.c index 403e9d5c..2e9cb626 100644 --- a/libdiskfs/dir-link.c +++ b/libdiskfs/dir-link.c @@ -22,7 +22,7 @@ kern_return_t diskfs_S_dir_link (struct protid *dircred, struct protid *filecred, - char *name, + string_t name, int excl) { struct node *np; /* node being linked */ diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c index f005dd86..3534facf 100644 --- a/libdiskfs/dir-lookup.c +++ b/libdiskfs/dir-lookup.c @@ -30,11 +30,11 @@ /* Implement dir_lookup as described in <hurd/fs.defs>. */ error_t diskfs_S_dir_lookup (struct protid *dircred, - char *filename, + string_t filename, int flags, mode_t mode, retry_type *do_retry, - char *retry_name, + string_t retry_name, mach_port_t *retry_port, mach_msg_type_name_t *retry_port_type) { diff --git a/libdiskfs/dir-mkdir.c b/libdiskfs/dir-mkdir.c index 1ddb8087..f8c07a55 100644 --- a/libdiskfs/dir-mkdir.c +++ b/libdiskfs/dir-mkdir.c @@ -21,7 +21,7 @@ /* Implement dir_mkdir as found in <hurd/fs.defs>. */ kern_return_t diskfs_S_dir_mkdir (struct protid *dircred, - char *name, + string_t name, mode_t mode) { struct node *dnp; diff --git a/libdiskfs/dir-rename.c b/libdiskfs/dir-rename.c index 90f7c683..b12dd018 100644 --- a/libdiskfs/dir-rename.c +++ b/libdiskfs/dir-rename.c @@ -29,9 +29,9 @@ static pthread_mutex_t renamedirlock = PTHREAD_MUTEX_INITIALIZER; /* Implement dir_rename as described in <hurd/fs.defs>. */ kern_return_t diskfs_S_dir_rename (struct protid *fromcred, - char *fromname, + string_t fromname, struct protid *tocred, - char *toname, + string_t toname, int excl) { struct node *fdp, *tdp, *fnp, *tnp, *tmpnp; diff --git a/libdiskfs/dir-unlink.c b/libdiskfs/dir-unlink.c index cf02c227..2a54cc38 100644 --- a/libdiskfs/dir-unlink.c +++ b/libdiskfs/dir-unlink.c @@ -22,7 +22,7 @@ /* Implement dir_unlink as described in <hurd/fs.defs>. */ kern_return_t diskfs_S_dir_unlink (struct protid *dircred, - char *name) + string_t name) { struct node *dnp; struct node *np; diff --git a/libdiskfs/file-exec.c b/libdiskfs/file-exec.c index f5939647..7625cf43 100644 --- a/libdiskfs/file-exec.c +++ b/libdiskfs/file-exec.c @@ -66,8 +66,8 @@ kern_return_t diskfs_S_file_exec_paths (struct protid *cred, task_t task, int flags, - char *path, - char *abspath, + string_t path, + string_t abspath, char *argv, size_t argvlen, char *envp, diff --git a/libdiskfs/fsys-get-source.c b/libdiskfs/fsys-get-source.c index 59eee55e..cd151560 100644 --- a/libdiskfs/fsys-get-source.c +++ b/libdiskfs/fsys-get-source.c @@ -30,7 +30,7 @@ error_t diskfs_S_fsys_get_source (struct diskfs_control *fsys, mach_port_t reply, mach_msg_type_name_t replytype, - char *source) + string_t source) { if (! fsys) return EOPNOTSUPP; diff --git a/libdiskfs/fsys-getroot.c b/libdiskfs/fsys-getroot.c index 2c0d15dd..81bd7db4 100644 --- a/libdiskfs/fsys-getroot.c +++ b/libdiskfs/fsys-getroot.c @@ -37,7 +37,7 @@ diskfs_S_fsys_getroot (struct diskfs_control *pt, size_t ngids, int flags, retry_type *retry, - char *retryname, + string_t retryname, file_t *returned_port, mach_msg_type_name_t *returned_port_poly) { diff --git a/libdiskfs/io-version.c b/libdiskfs/io-version.c index fc0922de..ed6b0322 100644 --- a/libdiskfs/io-version.c +++ b/libdiskfs/io-version.c @@ -26,7 +26,7 @@ kern_return_t diskfs_S_io_server_version (struct protid *cred, - char *server_name, + string_t server_name, int *major, int *minor, int *edit) |