X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fcommon%2Futils.c;h=16f38852af6324e697402d79ad5f18153c7849c1;hb=cfb13a7a8f4ae43740e165125af072326e3d6b72;hp=f253e797fae641e31ef98abcf4e829655feb8dfc;hpb=8991668e5aee318628b29aa36904855461dad07a;p=lttng-tools.git diff --git a/src/common/utils.c b/src/common/utils.c index f253e797f..16f38852a 100644 --- a/src/common/utils.c +++ b/src/common/utils.c @@ -441,6 +441,7 @@ static void regex_print_error(int errcode, regex_t *regex) * * @return 0 on success, -1 on failure. */ +LTTNG_HIDDEN int utils_parse_size_suffix(char *str, uint64_t *size) { regex_t regex; @@ -586,6 +587,7 @@ int utils_get_count_order_u32(uint32_t x) * Obtain the value of LTTNG_HOME environment variable, if exists. * Otherwise returns the value of HOME. */ +LTTNG_HIDDEN char *utils_get_home_dir(void) { char *val = NULL;