Build fix: Missing message in LTTNG_DEPRECATED invocation
[lttng-tools.git] / src / common / shm.c
index 7ccc3c0bc4ebb19aaea4c5e86d756c741833052f..c006258c74146c4937af7e5f034793b534189201 100644 (file)
@@ -33,7 +33,7 @@ static int get_wait_shm(char *shm_path, size_t mmap_size, int global)
        int wait_shm_fd, ret;
        mode_t mode;
 
-       assert(shm_path);
+       LTTNG_ASSERT(shm_path);
 
        /* Default permissions */
        mode = S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP;
@@ -156,7 +156,6 @@ error:
  * 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;
@@ -164,7 +163,7 @@ char *shm_ust_get_mmap(char *shm_path, int global)
        char *wait_shm_mmap;
        long sys_page_size;
 
-       assert(shm_path);
+       LTTNG_ASSERT(shm_path);
 
        sys_page_size = sysconf(_SC_PAGE_SIZE);
        if (sys_page_size < 0) {
@@ -203,7 +202,6 @@ error:
 /*
  * 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];
This page took 0.023203 seconds and 4 git commands to generate.