tools/check-includes.sh: test that c files include their .h files.

This is best-practice (to ensure prototypes match up), but there were a
few places we didn't (at least, directly).  Make it a requirement,
either of form "foo.h" or <dir/foo.h>.

The noise is the change to our print templates.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2021-09-16 14:20:02 +09:30
parent d970cc070e
commit 00a0d09340
47 changed files with 55 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
#include "libhsmd_python.h"
#include <ccan/str/hex/hex.h>
#include <libhsmd_python.h>
#include <common/setup.h>
char *init(char *hex_hsm_secret, char *network_name) {