configure: add '-Wredundant-decls' to warning flags
[lttng-tools.git] / doc / examples / trigger-condition-event-matches / Makefile.am
index bace545b9371e2e8401f9f9ace63120f5314bd5e..f42b6fe840c47044385f7154785dfa7dcd817155 100644 (file)
@@ -2,6 +2,8 @@
 
 AM_CPPFLAGS += -I$(srcdir)
 
+AM_CFLAGS += -Wno-redundant-decls
+
 LIBLTTNG_CTL=$(top_builddir)/src/lib/lttng-ctl/liblttng-ctl.la
 dist_noinst_SCRIPTS = demo.sh
 EXTRA_DIST = README.md
@@ -15,7 +17,7 @@ libtracepoint_trigger_example_a_SOURCES = tracepoint-trigger-example.c tracepoin
 instrumented_app_SOURCES = instrumented-app.c
 instrumented_app_LDADD = libtracepoint-trigger-example.a $(UST_LIBS) $(DL_LIBS)
 
-notification_client_SOURCES = notification-client.c
+notification_client_SOURCES = notification-client.cpp
 notification_client_LDADD = $(LIBLTTNG_CTL)
 
 endif
This page took 0.02649 seconds and 4 git commands to generate.