mirror of
https://github.com/aljazceru/lightning.git
synced 2025-12-19 23:24:27 +01:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user