#ifdef MAIN_C type nom_de_la_var; #else extern type nom_de_la_var; #endif [...]
#define MAIN_C #include "commun.h" [...]
#include "commun.h" [...]