Is this function declaration in the correct coding style for a header file?