adoptions to compile with -Wstrict-prototypes