avoid warning about old-style no-param function definition