Chomp file ends

Removed empty lines from end of src/*.[ch] files.
If the new last line became '#endif'
was the condition of the '#if' added.
This commit is contained in:
Geert Stappers authored and Simon Kelley committed 2021-04-09 17:27:36 +01:00
1 parent ad90eb075d
commit 3573ca0eec
18 files changed
+7 -57

No files matched your search

-2
View File
@@ -230,5 +230,3 @@ int do_arp_script_run(void)
return 0;
}
-3
View File
@@ -867,6 +867,3 @@ size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t n
}
#endif
-1
View File
@@ -174,4 +174,3 @@ struct blockdata *blockdata_read(int fd, size_t len)
{
return blockdata_alloc_real(fd, NULL, len);
}
-2
View File
@@ -440,5 +440,3 @@ void route_sock(void)
}
#endif /* HAVE_BSD_NETWORK */
-2
View File
@@ -1980,5 +1980,3 @@ void log_query(unsigned int flags, char *name, union all_addr *addr, char *arg)
else
my_syslog(LOG_INFO, "%s %s %s %s", source, name, verb, dest);
}
+1 -4
View File
@@ -447,7 +447,4 @@ static char *compile_opts =
#endif
"dumpfile";
#endif
#endif /* defined(HAVE_DHCP) */
+1 -4
View File
@@ -82,7 +82,4 @@ static int callback(enum nf_conntrack_msg_type type, struct nf_conntrack *ct, vo
return NFCT_CB_CONTINUE;
}
#endif
#endif /* HAVE_CONNTRACK */
-1
View File
@@ -72,4 +72,3 @@
#define DHCP6NOBINDING 3
#define DHCP6NOTONLINK 4
#define DHCP6USEMULTI 5
+1 -3
View File
@@ -825,6 +825,4 @@ void dhcp_construct_contexts(time_t now)
}
}
#endif
#endif /* HAVE_DHCP6 */
-5
View File
@@ -2589,8 +2589,3 @@ static unsigned short get_id(void)
return ret;
}
}
+1 -4
View File
@@ -882,7 +882,4 @@ void helper_write(void)
}
}
#endif
#endif /* HAVE_SCRIPT */
-1
View File
@@ -295,4 +295,3 @@ int inotify_check(time_t now)
}
#endif /* INOTIFY */
-1
View File
@@ -31,4 +31,3 @@
&& ((__const uint32_t *) (a))[1] == 0 \
&& ((__const uint32_t *) (a))[2] == 0 \
&& ((__const uint32_t *) (a))[3] == 0)
+1 -5
View File
@@ -1201,8 +1201,4 @@ void lease_add_extradata(struct dhcp_lease *lease, unsigned char *data, unsigned
}
#endif
#endif
#endif /* HAVE_DHCP */
+1 -3
View File
@@ -402,6 +402,4 @@ static unsigned nl_async(struct nlmsghdr *h, unsigned state)
}
return state;
}
#endif
#endif /* HAVE_LINUX_NETWORK */
-5
View File
@@ -1869,8 +1869,3 @@ void newaddress(time_t now)
lease_find_interfaces(now);
#endif
}
-3
View File
@@ -53,6 +53,3 @@ struct prefix_opt {
#define ICMP6_OPT_RT_INFO 24
#define ICMP6_OPT_RDNSS 25
#define ICMP6_OPT_DNSSL 31
+1 -8
View File
@@ -2785,11 +2785,4 @@ static void apply_delay(u32 xid, time_t recvtime, struct dhcp_netid *netid)
}
}
#endif
#endif /* HAVE_DHCP */