4 ms·
The source code is funny because: CFLAGS += -include decls.h Notice that none of the .c files include header files, he just does it globally. I almost do
by jhallenworld 6y ago
The source code is funny because:
CFLAGS += -include decls.h
Notice that none of the .c files include header files, he just does it globally. I almost do this sometimes- I exclicitly include a "lib.h" in all .c files for some projects.
It's convenient, but not good for sharing code with others.
Also these asynchronously cancelable functions are interesting.