mirror of
https://github.com/aljazceru/lightning.git
synced 2026-02-23 15:04:19 +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:
2
closingd/closingd_wiregen.c
generated
2
closingd/closingd_wiregen.c
generated
@@ -235,4 +235,4 @@ bool fromwire_closingd_complete(const void *p)
|
||||
return false;
|
||||
return cursor != NULL;
|
||||
}
|
||||
// SHA256STAMP:0602a002b81e43b45a8c40a15cb4af6c5e7ea66d6f95b7ba89f386b2fe73bd0e
|
||||
// SHA256STAMP:8b3f45f8221281390e4e8883d07c55f9723f4bf08356dcd63f537dc30ca7b75f
|
||||
|
||||
2
closingd/closingd_wiregen.h
generated
2
closingd/closingd_wiregen.h
generated
@@ -64,4 +64,4 @@ bool fromwire_closingd_complete(const void *p);
|
||||
|
||||
|
||||
#endif /* LIGHTNING_CLOSINGD_CLOSINGD_WIREGEN_H */
|
||||
// SHA256STAMP:0602a002b81e43b45a8c40a15cb4af6c5e7ea66d6f95b7ba89f386b2fe73bd0e
|
||||
// SHA256STAMP:8b3f45f8221281390e4e8883d07c55f9723f4bf08356dcd63f537dc30ca7b75f
|
||||
|
||||
Reference in New Issue
Block a user