tests: update EXTRA_DIST of Python bindings
[deliverable/babeltrace.git] / include / babeltrace / compat / stdio-internal.h
index 9249897055e377b3d9e7ef6defa0375250f6b03c..332d74da2ecec63a5ee1eb06e551121626d15d75 100644 (file)
 
 #include <stdio.h>
 #include <errno.h>
-#include <assert.h>
-#include <malloc.h>
 #include <stdlib.h>
 #include <limits.h>
+#include <babeltrace/assert-internal.h>
 
 #define BT_GETLINE_MINBUFLEN   64
 
@@ -95,7 +94,7 @@ ssize_t bt_getline(char **lineptr, size_t *n, FILE *stream)
                                /* ferror() is set, errno set by fgetc(). */
                                return -1;
                        }
-                       assert(feof(stream));
+                       BT_ASSERT(feof(stream));
                        found_eof = 1;
                        break;
                }
This page took 0.024156 seconds and 5 git commands to generate.