diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 18:54:19 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-01-16 19:29:10 +0100 |
commit | dd3048b2e483f66571cfa1b2ccebb2091b9ad990 (patch) | |
tree | e8cc587d06c15befd9ab7212938bb0e05a029c23 /mach-defpager | |
parent | 2e38095efd8cad7fe6feb95dbeb276b7a4287f05 (diff) | |
download | hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.gz hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.tar.bz2 hurd-dd3048b2e483f66571cfa1b2ccebb2091b9ad990.zip |
Make RPC input array parameters const
This follows mig's cf4bcc3f1435 ("Also add const qualifiers on server
side")
Diffstat (limited to 'mach-defpager')
-rw-r--r-- | mach-defpager/default_pager.c | 2 | ||||
-rw-r--r-- | mach-defpager/setup.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c index c92a9e28..4afe9a76 100644 --- a/mach-defpager/default_pager.c +++ b/mach-defpager/default_pager.c @@ -3730,7 +3730,7 @@ kern_return_t S_default_pager_paging_file (pager, mdport, file_name, add) mach_port_t pager; mach_port_t mdport; - default_pager_filename_t file_name; + const_default_pager_filename_t file_name; boolean_t add; { kern_return_t kr; diff --git a/mach-defpager/setup.c b/mach-defpager/setup.c index 0fc4d9d4..ffd75c20 100644 --- a/mach-defpager/setup.c +++ b/mach-defpager/setup.c @@ -42,8 +42,8 @@ extern mach_port_t default_pager_default_port; /* default_pager.c */ kern_return_t S_default_pager_paging_storage (mach_port_t pager, mach_port_t device, - recnum_t *runs, mach_msg_type_number_t nrun, - default_pager_filename_t name, + const recnum_t *runs, mach_msg_type_number_t nrun, + const_default_pager_filename_t name, boolean_t add) { struct file_direct *fdp; |