Fix -Wstrict-prototypes warnings
authorSimon Marchi <simon.marchi@efficios.com>
Fri, 25 Oct 2019 21:01:05 +0000 (17:01 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 30 Oct 2019 19:14:53 +0000 (15:14 -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 8e7e6b482a158d727f8502894aa909414ae53bd4..9f4f27d1a025c502bbd740c7d6170ef9e280f077 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.027434 seconds and 4 git commands to generate.