Cleanup: mark utils_get_home_dir as returning a const string
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 24 Aug 2019 22:14:11 +0000 (15:14 -0700)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Sat, 24 Aug 2019 22:14:15 +0000 (15:14 -0700)
utils_get_home_dir() returns a string obtained from getenv() that
should not be modified nor free'd. However, utils_get_user_home_dir()
returns the path as a copy.

The return parameter of utils_get_home_dir() is marked as const
to underline this difference and prevent mix-ups in the use of
those functions.

Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>

No differences found
This page took 0.025336 seconds and 4 git commands to generate.