Internal symbols that are part of libcommon must be marked as "hidden".
Otherwise, the symbols are exported as part of liblttng-ctl.so.
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I41e7746a8044e85a7d422f138654de1579bf22f1
* This returned value is used by futex_wait_update() in futex.c to WAKE all
* waiters which are UST application waiting for a session daemon.
*/
+LTTNG_HIDDEN
char *shm_ust_get_mmap(char *shm_path, int global)
{
size_t mmap_size;
/*
* shm_create_anonymous is never called concurrently within a process.
*/
+LTTNG_HIDDEN
int shm_create_anonymous(const char *owner_name)
{
char tmp_name[NAME_MAX];
#ifndef _LTT_SHM_H
#define _LTT_SHM_H
+LTTNG_HIDDEN
char *shm_ust_get_mmap(char *shm_path, int global);
+LTTNG_HIDDEN
int shm_create_anonymous(const char *owner_name);
#endif /* _LTT_SHM_H */