make all header files self-contained and include it in the source file

Including the header in the source file guarantees matching signatures,
thus preventing subtle errors.

Self-contained headers document the required headers and makes using it
easier to use the header in new source files.
This commit is contained in:
Simon Ruderich
2016-02-07 16:35:00 +01:00
committed by Amadeusz Sławiński
parent 42745c6ac1
commit 263d9c6c8d
64 changed files with 151 additions and 76 deletions

View File

@@ -103,7 +103,7 @@ cat << EOF > kmapdef.c
* This file is automagically created from term.c -- DO NOT EDIT
*/
#include "config.h"
#include "kmapdef.h"
EOF