2 A C macro for declaring that specific function parameters are not used.
8 build-aux/unused-parameter.h
15 # The BUILT_SOURCES created by this Makefile snippet are not used via #include
16 # statements but through direct file reference. Therefore this snippet must be
17 # present in all Makefile.am that need it. This is ensured by the applicability
18 # 'all' defined above.
20 BUILT_SOURCES += unused-parameter.h
21 # The unused-parameter.h that gets inserted into generated .h files is the same
22 # as build-aux/unused-parameter.h, except that it has the copyright header cut
24 unused-parameter.h: $(top_srcdir)/build-aux/unused-parameter.h
25 $(AM_V_GEN)rm -f $@-t $@ && \
26 sed -n -e '/GL_UNUSED_PARAMETER/,$$p' \
27 < $(top_srcdir)/build-aux/unused-parameter.h \
30 MOSTLYCLEANFILES += unused-parameter.h unused-parameter.h-t
32 UNUSED_PARAMETER_H=unused-parameter.h