diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2024-09-03 14:57:12 +0200 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2024-09-03 14:57:12 +0200 |
commit | 7fa58f66193611491f5aa6cafab6a85845ede01f (patch) | |
tree | 007064c5eaba006b3a91d82133cb2fb073604dea /src/include | |
parent | 483c223a856b6d37bb601c4d0a626449da1cd085 (diff) |
extensions: mark name and version as const
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/taler_extensions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/taler_extensions.h b/src/include/taler_extensions.h index 1eb567f72..d924d1aba 100644 --- a/src/include/taler_extensions.h +++ b/src/include/taler_extensions.h @@ -88,7 +88,7 @@ struct TALER_Extension * The name of the extension, must be unique among all loaded extensions. It * is used in URLs for /extension/$NAME as well. */ - char *name; + const char *name; /** * Criticality of the extension. It has the same semantics as "critical" has @@ -103,7 +103,7 @@ struct TALER_Extension * Version of the extension must be provided in Taler's protocol version ranges notation, see * https://docs.taler.net/core/api-common.html#protocol-version-ranges */ - char *version; + const char *version; /** * If the extension is marked as enabled, it will be listed in the |