github.com/Konstantin8105/c4go@v0.0.0-20240505174241-768bb1c65a51/tests/multi/main1.c (about) 1 #include <stdio.h> 2 #include "header.h" 3 4 #define ERROR_FUNC error 5 #include "err.h" 6 #undef ERROR_FUNC 7 #define ERROR_FUNC errorANOTHER 8 #include "err.h" 9 10 int main() { 11 say_two(); 12 say_three(); 13 say_four(); 14 15 ERROR_FUNC(); 16 error(); 17 errorANOTHER(); 18 printf("\n"); 19 return 0; 20 } 21 22 // The body for the definition (declared in the header). Notice this is declared 23 // after using the forward declaration above. 24 void say_two() { 25 printf("2"); 26 }