From a7522f1d4c7e6cdea643059579800a87a556352d Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Thu, 27 Jun 2019 17:29:15 -0700 Subject: [PATCH] Mark arguments to svcCreateProcess as const. --- nx/include/switch/kernel/svc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/include/switch/kernel/svc.h b/nx/include/switch/kernel/svc.h index 8714a29d..7dac82b0 100644 --- a/nx/include/switch/kernel/svc.h +++ b/nx/include/switch/kernel/svc.h @@ -1163,7 +1163,7 @@ Result svcUnmapProcessCodeMemory(Handle proc, u64 dst, u64 src, u64 size); * @note Syscall number 0x79. * @warning This is a privileged syscall. Use \ref envIsSyscallHinted to check if it is available. */ -Result svcCreateProcess(Handle* out, void* proc_info, u32* caps, u64 cap_num); +Result svcCreateProcess(Handle* out, const void* proc_info, const u32* caps, u64 cap_num); /** * @brief Starts executing a freshly created process.