I am writing a C software for a microcontroller, the compiler is Microchip MCC18.
For test purposes, I have written a very simple program as follow:
.c file
#include "x.h"
char *now_clock;
.h file
extern char *now_clock;
With the above code I get a syntax error, but I don't know what is wrong. Any help?