diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-08 00:38:05 +0900 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2024-07-16 16:07:14 +0900 |
commit | 6425e3b247b1eff04c64091b2af8811d05546a86 (patch) | |
tree | aadb6b23bb9ee5ac82ae0f9571aef7dd84df76f2 /scripts/kconfig/util.c | |
parent | 8bfd6f0923cd7e48aa5d9e5a4e20af818a32c30a (diff) |
kconfig: add const qualifiers to several function arguments
Clarify that the given structures are not modified.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Diffstat (limited to 'scripts/kconfig/util.c')
-rw-r--r-- | scripts/kconfig/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/kconfig/util.c b/scripts/kconfig/util.c index 439c131b424e..1ea78927121d 100644 --- a/scripts/kconfig/util.c +++ b/scripts/kconfig/util.c @@ -98,7 +98,7 @@ void str_printf(struct gstr *gs, const char *fmt, ...) } /* Retrieve value of growable string */ -char *str_get(struct gstr *gs) +char *str_get(const struct gstr *gs) { return gs->s; } |