Hi my header has defined the following codes:
typedef uint8_t EnrollT(uint16_t test1, uint16_t test2); typedef void ChangeT(uint64_t post1, uint8_t post2); struct ClusterT * ClientAlloc(EnrollT *, ChangeT *);
I have implemented these two functions and pass those to ClientAlloc() in my c file as shown in the following:
However, when I compile the source, the errors pops up.
expected declaration specifiers or ‘...’ before ‘enroll’ expected declaration specifiers or ‘...’ before ‘change’
Is there anything I may miss here?