refs.h: add some parameter names to function declarations