diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-06-18 09:58:16 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2025-06-18 16:04:11 -0400 |
commit | a556cb03777ec708fa193d46dba86e91b7ffec36 (patch) | |
tree | bb7a7b486ab979fc03c581c506db155c02c31023 /src | |
parent | b00eab814c978f977845743694100a919cb5d684 (diff) | |
download | stasis-a556cb03777ec708fa193d46dba86e91b7ffec36.tar.gz |
Make MicromambaInfo a const
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/core/conda.c | 2 | ||||
-rw-r--r-- | src/lib/core/include/conda.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/core/conda.c b/src/lib/core/conda.c index 44af34d..07128e6 100644 --- a/src/lib/core/conda.c +++ b/src/lib/core/conda.c @@ -4,7 +4,7 @@ #include "conda.h" -int micromamba(struct MicromambaInfo *info, char *command, ...) { +int micromamba(const struct MicromambaInfo *info, char *command, ...) { struct utsname sys; uname(&sys); diff --git a/src/lib/core/include/conda.h b/src/lib/core/include/conda.h index ea8613f..f3d481c 100644 --- a/src/lib/core/include/conda.h +++ b/src/lib/core/include/conda.h @@ -38,7 +38,7 @@ struct MicromambaInfo { * @param ... variadic arguments * @return exit code */ -int micromamba(struct MicromambaInfo *info, char *command, ...); +int micromamba(const struct MicromambaInfo *info, char *command, ...); /** * Execute Python |