projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix: set hidden attribute to utils_* calls
[lttng-tools.git]
/
src
/
common
/
utils.c
diff --git
a/src/common/utils.c
b/src/common/utils.c
index f253e797fae641e31ef98abcf4e829655feb8dfc..d0f050c0ff14d12e79f4f36d2e7adddb807e341d 100644
(file)
--- a/
src/common/utils.c
+++ b/
src/common/utils.c
@@
-308,7
+308,7
@@
error:
* Return 0 on success or else a negative value.
*/
LTTNG_HIDDEN
* Return 0 on success or else a negative value.
*/
LTTNG_HIDDEN
-int utils_create_stream_file(char *path_name, char *file_name, uint64_t size,
+int utils_create_stream_file(c
onst c
har *path_name, char *file_name, uint64_t size,
uint64_t count, int uid, int gid)
{
int ret, out_fd, flags, mode;
uint64_t count, int uid, int gid)
{
int ret, out_fd, flags, mode;
@@
-441,6
+441,7
@@
static void regex_print_error(int errcode, regex_t *regex)
*
* @return 0 on success, -1 on failure.
*/
*
* @return 0 on success, -1 on failure.
*/
+LTTNG_HIDDEN
int utils_parse_size_suffix(char *str, uint64_t *size)
{
regex_t regex;
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.
*/
* 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;
char *utils_get_home_dir(void)
{
char *val = NULL;
This page took
0.024295 seconds
and
4
git commands to generate.