Fix: test all close/fclose ret val, fix double close
[babeltrace.git] / include / babeltrace / ctf / types.h
index c1916a4d75b76b7557031e2ca1a96b6febaa1115..1a753084b22b022d0768f3b72bddac267bfb6498 100644 (file)
@@ -99,8 +99,8 @@ int ctf_sequence_write(struct stream_pos *pos, struct definition *definition);
 
 void ctf_packet_seek(struct stream_pos *pos, size_t index, int whence);
 
-void ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags);
-void ctf_fini_pos(struct ctf_stream_pos *pos);
+int ctf_init_pos(struct ctf_stream_pos *pos, int fd, int open_flags);
+int ctf_fini_pos(struct ctf_stream_pos *pos);
 
 /*
  * move_pos - move position of a relative bit offset
This page took 0.022967 seconds and 4 git commands to generate.