From: David Goulet Date: Wed, 28 May 2014 14:56:12 +0000 (-0400) Subject: Add hidden attribute to some common functions X-Git-Tag: v2.5.0-rc1~2 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b20350122720a23ddb59003a2f54210add153c8d;p=lttng-tools.git Add hidden attribute to some common functions Signed-off-by: David Goulet --- 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;