From fa89550518af96a8804749c0ab0916599a94c1da Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 11 Sep 2016 22:56:30 -0400 Subject: Run the new fixup script. The biggest change is that it keeps looking for new #include blocks. This means that it (more) correctly handles #ifdef'd #includes. I'm not 100% in love with it, but it's pretty good for automated. What I really don't like is it did some silly things with newlines in typedef blocks. I've avoided committing those. I think it may be possible to get it to do the right thing. But really, the typedef blocks are a hack for poorly structured headers. Now that it keeps looking for new #include blocks, I could strip out the typedef support, and it would mostly work; but it wouldn't be able to move some headers back to the top. IDK what to do. --- src/libfirewall/firewall-util.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/libfirewall/firewall-util.c') diff --git a/src/libfirewall/firewall-util.c b/src/libfirewall/firewall-util.c index 212bbe00ee..009cef3e88 100644 --- a/src/libfirewall/firewall-util.c +++ b/src/libfirewall/firewall-util.c @@ -32,18 +32,20 @@ #ifndef IFNAMSIZ #define IFNAMSIZ 16 #endif +#include + #include #include #include #include -#include #include "basic/alloc-util.h" -#include "firewall-util.h" #include "basic/in-addr-util.h" #include "basic/macro.h" #include "basic/socket-util.h" +#include "firewall-util.h" + DEFINE_TRIVIAL_CLEANUP_FUNC(struct xtc_handle*, iptc_free); static int entry_fill_basics( -- cgit v1.2.3-54-g00ecf