Skip to content
Commit 3ec82d4b authored by Ronny Chevalier's avatar Ronny Chevalier Committed by Pavel Emelyanov
Browse files

lib/c: add const qualifier to criu_set_service_binary



service_binary is either set to a const char * (CR_DEFAULT_SERVICE_BIN)
or to a user provided char *, but there is no reason to give a char *.
Users of such function will most likely provide a const char *,
that will generate a warning.
Thus, we add the const qualifier to better represent the usage of
service_binary, and avoid such warnings.

Signed-off-by: default avatarRonny Chevalier <ronny.chevalier@hp.com>
Signed-off-by: default avatarAndrei Vagin <avagin@virtuozzo.com>
parent 55d0f98f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment