Fix: Mismatching return type in ust_app_ht_alloc() stub
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.h
index d1e260fd12c215a09999972b96257c7002114885..dc636777eac1a8a411fa0a04d4ce6cdfb11c2455 100644 (file)
@@ -313,7 +313,7 @@ int ust_app_add_ctx_channel_glb(struct ltt_ust_session *usess,
 void ust_app_global_update(struct ltt_ust_session *usess, int sock);
 
 void ust_app_clean_list(void);
-void ust_app_ht_alloc(void);
+int ust_app_ht_alloc(void);
 struct ust_app *ust_app_find_by_pid(pid_t pid);
 int ust_app_calibrate_glb(struct lttng_ust_calibrate *calibrate);
 struct ust_app_stream *ust_app_alloc_stream(void);
@@ -410,8 +410,10 @@ struct ust_app *ust_app_get_by_pid(pid_t pid)
        return NULL;
 }
 static inline
-void ust_app_ht_alloc(void)
-{}
+int ust_app_ht_alloc(void)
+{
+       return 0;
+}
 static inline
 void ust_app_global_update(struct ltt_ust_session *usess, int sock)
 {}
This page took 0.025774 seconds and 5 git commands to generate.