diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-17 00:32:29 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-17 00:43:09 +0100 |
commit | f5fb7c713ea443469406a691e60a6f4567a4cb75 (patch) | |
tree | b16d979915b5ad7e32ffe77ca5f5006dc639a16e /exec/hashexec.c | |
parent | dd3048b2e483f66571cfa1b2ccebb2091b9ad990 (diff) | |
download | hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.gz hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.tar.bz2 hurd-f5fb7c713ea443469406a691e60a6f4567a4cb75.zip |
Fix const warnings
Now that the RPCs have const, this forces us cleaning our const-meant
functions.
Diffstat (limited to 'exec/hashexec.c')
-rw-r--r-- | exec/hashexec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exec/hashexec.c b/exec/hashexec.c index 71c02386..9cd5392b 100644 --- a/exec/hashexec.c +++ b/exec/hashexec.c @@ -36,14 +36,14 @@ check_hashbang (struct execdata *e, file_t file, task_t oldtask, int flags, - char *file_name_exec, + const char *file_name_exec, char *argv, u_int argvlen, boolean_t argv_copy, char *envp, u_int envplen, boolean_t envp_copy, mach_port_t *dtable, u_int dtablesize, boolean_t dtable_copy, mach_port_t *portarray, u_int nports, boolean_t portarray_copy, int *intarray, u_int nints, boolean_t intarray_copy, - mach_port_t *deallocnames, u_int ndeallocnames, - mach_port_t *destroynames, u_int ndestroynames) + const mach_port_t *deallocnames, u_int ndeallocnames, + const mach_port_t *destroynames, u_int ndestroynames) { char *p; char *interp, *arg; /* Interpreter file name, and first argument */ |