[Dnsmasq-discuss] [PATCH] Remove tailing "white space only" lines
Geert Stappers
stappers at stappers.nl
Sat Mar 7 21:07:40 GMT 2020
From: Geert Stappers <geert.stappers at hendrikx-itc.nl>
Several files have white-space-only-lines at the end.
Those strange end-of-file-markers are now removed.
---
src/arp.c | 2 --
src/auth.c | 3 ---
src/blockdata.c | 1 -
src/bpf.c | 2 --
src/cache.c | 2 --
src/config.h | 3 ---
src/conntrack.c | 3 ---
src/dhcp6.c | 2 --
src/dnsmasq.c | 2 --
src/forward.c | 5 -----
src/helper.c | 3 ---
src/inotify.c | 1 -
src/ip6addr.h | 1 -
src/lease.c | 4 ----
src/netlink.c | 2 --
src/network.c | 5 -----
src/radv-protocol.h | 3 ---
src/rfc2131.c | 7 -------
18 files changed, 51 deletions(-)
diff --git a/src/arp.c b/src/arp.c
index 3329d6d..3f2f5be 100644
--- a/src/arp.c
+++ b/src/arp.c
@@ -230,5 +230,3 @@ int do_arp_script_run(void)
return 0;
}
-
-
diff --git a/src/auth.c b/src/auth.c
index 4daae30..cf1a2b3 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -863,6 +863,3 @@ size_t answer_auth(struct dns_header *header, char *limit, size_t qlen, time_t n
}
#endif
-
-
-
diff --git a/src/blockdata.c b/src/blockdata.c
index f33b28e..167a652 100644
--- a/src/blockdata.c
+++ b/src/blockdata.c
@@ -174,4 +174,3 @@ struct blockdata *blockdata_read(int fd, size_t len)
{
return blockdata_alloc_real(fd, NULL, len);
}
-
diff --git a/src/bpf.c b/src/bpf.c
index 0ac1c8f..2b1a065 100644
--- a/src/bpf.c
+++ b/src/bpf.c
@@ -440,5 +440,3 @@ void route_sock(void)
}
#endif /* HAVE_BSD_NETWORK */
-
-
diff --git a/src/cache.c b/src/cache.c
index 30c9c41..63229cd 100644
--- a/src/cache.c
+++ b/src/cache.c
@@ -1967,5 +1967,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);
}
-
-
diff --git a/src/config.h b/src/config.h
index b002560..45971c7 100644
--- a/src/config.h
+++ b/src/config.h
@@ -438,6 +438,3 @@ static char *compile_opts =
"dumpfile";
#endif
-
-
-
diff --git a/src/conntrack.c b/src/conntrack.c
index 33f5ceb..7f20f73 100644
--- a/src/conntrack.c
+++ b/src/conntrack.c
@@ -83,6 +83,3 @@ static int callback(enum nf_conntrack_msg_type type, struct nf_conntrack *ct, vo
}
#endif
-
-
-
diff --git a/src/dhcp6.c b/src/dhcp6.c
index 096e2e1..a5de0b9 100644
--- a/src/dhcp6.c
+++ b/src/dhcp6.c
@@ -826,5 +826,3 @@ void dhcp_construct_contexts(time_t now)
}
#endif
-
-
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
index 10f19ea..3fb56f1 100644
--- a/src/dnsmasq.c
+++ b/src/dnsmasq.c
@@ -2107,5 +2107,3 @@ int delay_dhcp(time_t start, int sec, int fd, uint32_t addr, unsigned short id)
return 0;
}
#endif
-
-
diff --git a/src/forward.c b/src/forward.c
index ed9c8f6..95e39e4 100644
--- a/src/forward.c
+++ b/src/forward.c
@@ -2407,8 +2407,3 @@ static unsigned short get_id(void)
return ret;
}
-
-
-
-
-
diff --git a/src/helper.c b/src/helper.c
index 7072cf4..1c64261 100644
--- a/src/helper.c
+++ b/src/helper.c
@@ -883,6 +883,3 @@ void helper_write(void)
}
#endif
-
-
-
diff --git a/src/inotify.c b/src/inotify.c
index d5804cb..ea7218a 100644
--- a/src/inotify.c
+++ b/src/inotify.c
@@ -295,4 +295,3 @@ int inotify_check(time_t now)
}
#endif /* INOTIFY */
-
diff --git a/src/ip6addr.h b/src/ip6addr.h
index 352b330..28b116e 100644
--- a/src/ip6addr.h
+++ b/src/ip6addr.h
@@ -31,4 +31,3 @@
&& ((__const uint32_t *) (a))[1] == 0 \
&& ((__const uint32_t *) (a))[2] == 0 \
&& ((__const uint32_t *) (a))[3] == 0)
-
diff --git a/src/lease.c b/src/lease.c
index 23e6fe0..a115b8b 100644
--- a/src/lease.c
+++ b/src/lease.c
@@ -1202,7 +1202,3 @@ void lease_add_extradata(struct dhcp_lease *lease, unsigned char *data, unsigned
#endif
#endif
-
-
-
-
diff --git a/src/netlink.c b/src/netlink.c
index d59bf62..eda4a75 100644
--- a/src/netlink.c
+++ b/src/netlink.c
@@ -369,5 +369,3 @@ static void nl_async(struct nlmsghdr *h)
queue_event(EVENT_NEWADDR);
}
#endif
-
-
diff --git a/src/network.c b/src/network.c
index cb956ca..fd0fd07 100644
--- a/src/network.c
+++ b/src/network.c
@@ -1683,8 +1683,3 @@ void newaddress(time_t now)
lease_find_interfaces(now);
#endif
}
-
-
-
-
-
diff --git a/src/radv-protocol.h b/src/radv-protocol.h
index edc1532..6c4ec96 100644
--- a/src/radv-protocol.h
+++ b/src/radv-protocol.h
@@ -53,6 +53,3 @@ struct prefix_opt {
#define ICMP6_OPT_RT_INFO 24
#define ICMP6_OPT_RDNSS 25
#define ICMP6_OPT_DNSSL 31
-
-
-
diff --git a/src/rfc2131.c b/src/rfc2131.c
index fc54aab..c36ef9b 100644
--- a/src/rfc2131.c
+++ b/src/rfc2131.c
@@ -2741,10 +2741,3 @@ static void apply_delay(u32 xid, time_t recvtime, struct dhcp_netid *netid)
}
#endif
-
-
-
-
-
-
-
--
2.20.1
More information about the Dnsmasq-discuss
mailing list