Index: tests/Makefile.am
===================================================================
--- tests/Makefile.am	(revision a554e5f423752296e46ab9ced5a34d32676e55d5)
+++ tests/Makefile.am	(revision 6a823241f523e2ed232755b1a5401712de96e95c)
@@ -43,4 +43,5 @@
 	-g \
 	-Wall \
+	-Werror=return-type \
 	-Wno-unused-function \
 	-Wno-psabi \
