Move function declaration in .h files