color: weston_color_profile_params_to_str() const

As it should have been. Found, when I temporarily needed to print
'static const struct weston_color_profile_params'.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
This commit is contained in:
Pekka Paalanen 2025-09-16 14:23:33 +03:00 committed by Pekka Paalanen
parent e76da2ccd0
commit 6ec30279f7
2 changed files with 2 additions and 2 deletions

View file

@ -170,7 +170,7 @@ weston_color_gamut_fprint(FILE *fp,
* \returns The color profile parameters as string. Callers must free() it.
*/
WL_EXPORT char *
weston_color_profile_params_to_str(struct weston_color_profile_params *params,
weston_color_profile_params_to_str(const struct weston_color_profile_params *params,
const char *ident)
{
FILE *fp;

View file

@ -655,7 +655,7 @@ weston_color_profile_init(struct weston_color_profile *cprof,
struct weston_color_manager *cm);
char *
weston_color_profile_params_to_str(struct weston_color_profile_params *params,
weston_color_profile_params_to_str(const struct weston_color_profile_params *params,
const char *ident);
bool