Allow NULL clock name
[babeltrace.git] / include / babeltrace / ctf-ir / clock.h
index 5858a711ef7b0c00e0f02d8c95f2eea662794c46..93d4cbef5a6c6d0d0b9abf3bb8f122d225071477 100644 (file)
@@ -43,16 +43,13 @@ struct bt_ctf_clock;
  *
  * Allocate a new clock setting its reference count to 1.
  *
- * @param name Name of the clock (will be copied).
+ * @param name Name of the clock (will be copied); can be set to NULL
+ *             for nameless clocks.
  *
  * Returns an allocated clock on success, NULL on error.
  */
 extern struct bt_ctf_clock *bt_ctf_clock_create(const char *name);
 
-extern struct bt_ctf_clock *bt_ctf_clock_create_empty(void);
-
-extern int bt_ctf_clock_set_name(struct bt_ctf_clock *clock, const char *name);
-
 /*
  * bt_ctf_clock_get_name: get a clock's name.
  *
This page took 0.022899 seconds and 4 git commands to generate.