Skip to content
Snippets Groups Projects
Commit e2e5da4d authored by Martin Nolte's avatar Martin Nolte
Browse files

non-void funtions should return something

[[Imported from SVN: r6005]]
parent b65c6adb
Branches
Tags
No related merge requests found
......@@ -49,7 +49,7 @@ headercheck-am:
|| echo "#include <config.h>" > $$CCFILE; \
echo "#include <$${HEADER}>" >> $$CCFILE; \
echo "#include <$${HEADER}>" >> $$CCFILE; \
echo "int main () {}" >> $$CCFILE; \
echo "int main () { return 0; }" >> $$CCFILE; \
make $$OFILE > $$LOGFILE 2>&1; \
SUCCESS=$$?; \
if ! (test $$SUCCESS -eq 0 && test -e $$OFILE); then \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment