Add out-of-bound checks
[babeltrace.git] / formats / ctf / types / array.c
index aa3ffcf0d4c9fa671623fc1f6eadbd96fcca4ddd..3fd0ad427ebdc6548043294cd62f324a04bfeb89 100644 (file)
@@ -18,7 +18,7 @@
 
 #include <babeltrace/ctf/types.h>
 
-void ctf_array_rw(struct stream_pos *pos, struct definition *definition)
+int ctf_array_rw(struct stream_pos *pos, struct definition *definition)
 {
-       array_rw(pos, definition);
+       return array_rw(pos, definition);
 }
This page took 0.023277 seconds and 4 git commands to generate.