From b20350122720a23ddb59003a2f54210add153c8d Mon Sep 17 00:00:00 2001 From: David Goulet Date: Wed, 28 May 2014 10:56:12 -0400 Subject: [PATCH] Add hidden attribute to some common functions Signed-off-by: David Goulet --- src/common/config/ini.c | 2 ++ src/common/error.c | 1 + 2 files changed, 3 insertions(+) diff --git a/src/common/config/ini.c b/src/common/config/ini.c index 7462aeb35..4369a32f9 100644 --- a/src/common/config/ini.c +++ b/src/common/config/ini.c @@ -87,6 +87,7 @@ static char* strncpy0(char* dest, const char* src, size_t size) } /* See documentation in header file. */ +LTTNG_HIDDEN int ini_parse_file(FILE* file, ini_entry_handler handler, void* user) { /* Uses a fair bit of stack (use heap instead if you need to) */ @@ -199,6 +200,7 @@ int ini_parse_file(FILE* file, ini_entry_handler handler, void* user) } /* See documentation in header file. */ +LTTNG_HIDDEN int ini_parse(const char* filename, ini_entry_handler handler, void* user) { FILE* file; diff --git a/src/common/error.c b/src/common/error.c index 93b69843d..418fc47ab 100644 --- a/src/common/error.c +++ b/src/common/error.c @@ -29,6 +29,7 @@ /* TLS variable that contains the time of one single log entry. */ DEFINE_URCU_TLS(struct log_time, error_log_time); +LTTNG_HIDDEN const char *log_add_time(void) { int ret; -- 2.34.1