M16C compiler error

 Toolchain version 5.20.00

 

In a file called configs.c there is call to loadParameters():

#include "params.h"

void dummy(void)
{
bool ret;

ret = loadParameters();

}

The linker says:
...\configs.r30 : '_loadParameters' value is undefined


I have the following declarations and definitions:

In params.h:

#ifndef PARAMETER_H_
#define PARAMETER_H_

bool "loadParameters" (void);
...
#endif

In file params.c:

#include "parameter.h"

bool loadParameters (void){...}

 

I have cleaned the project, updated dependencies, added parameters.h to the project though other c files have no problem finding it. Am I missing something obvious?

Thanks,

Jack