Fix -Wstrict-prototypes warnings
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 25 Oct 2019 21:01:05 +0000 (17:01 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Mon, 28 Oct 2019 20:25:02 +0000 (16:25 -0400)
Change-Id: I2e7776e2387df40026641683bf2f4e90995f88ce
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2258
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Francis Deslauriers <francis.deslauriers@efficios.com>
configure.ac
src/ctf-writer/event-class.h

index b791d005f32a4edb6ec9269694303a99ee18d468..93495095c4115c94ed0ce4c0f8c5245bfe0dfdbb 100644 (file)
@@ -684,7 +684,6 @@ AX_COMPILER_FLAGS(
                -Wno-double-promotion dnl
                -Wno-suggest-attribute=noreturn dnl
                -Wno-cast-align dnl
-               -Wno-strict-prototypes dnl
        ])
 
 # CFLAGS from AX_COMPILER_FLAGS.
index 3c44b57cdf625c0884385d31078ef0397ff03d17..ca7ec670be742a83ed8e375739cdaf071df4ce85 100644 (file)
@@ -74,7 +74,8 @@ struct bt_ctf_stream_class_common *bt_ctf_event_class_common_borrow_stream_class
        return (void *) bt_ctf_object_borrow_parent(&event_class->base);
 }
 
-typedef struct bt_ctf_field_type_common *(*bt_ctf_field_type_structure_create_func)();
+typedef struct bt_ctf_field_type_common *
+       (*bt_ctf_field_type_structure_create_func)(void);
 
 BT_HIDDEN
 int bt_ctf_event_class_common_initialize(struct bt_ctf_event_class_common *event_class,
This page took 0.025332 seconds and 4 git commands to generate.