[Dnsmasq-discuss] empty tailing lines

Geert Stappers stappers at stappers.nl
Sun Nov 10 09:46:07 GMT 2019


For which reason do have some  .c files  empty tailing lines?


In-Reply-To: <1571002635-29803-1-git-send-email-stappers at alpaca.gpm.stappers.nl>
> 
> diff --git a/src/arp.c b/src/arp.c
> index 6cfe014..66ecfb5 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 854af0d..f12ce4d 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 e6e625f..89a049d 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 982318d..6561f1a 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 b3ed50b..205b2cf 100644
> --- a/src/cache.c
> +++ b/src/cache.c
> @@ -1994,5 +1994,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/conntrack.c b/src/conntrack.c
> index d41de54..a11fedd 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 5badc46..4849180 100644
> --- a/src/dhcp6.c
> +++ b/src/dhcp6.c
> @@ -827,5 +827,3 @@ void dhcp_construct_contexts(time_t now)
>  }
>  
>  #endif
> -
> -
> diff --git a/src/dnsmasq.c b/src/dnsmasq.c
> index 7842538..b635413 100644
> --- a/src/dnsmasq.c
> +++ b/src/dnsmasq.c
> @@ -2082,5 +2082,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 e4745a3..f488b90 100644
> --- a/src/forward.c
> +++ b/src/forward.c
> @@ -2405,8 +2405,3 @@ static unsigned short get_id(void)
>    
>    return ret;
>  }
> -
> -
> -
> -
> -
> diff --git a/src/helper.c b/src/helper.c
> index c392eec..5292e74 100644
> --- a/src/helper.c
> +++ b/src/helper.c
> @@ -886,6 +886,3 @@ void helper_write(void)
>  }
>  
>  #endif
> -
> -
> -
> diff --git a/src/inotify.c b/src/inotify.c
> index 7107833..7d9c56b 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/lease.c b/src/lease.c
> index f14d128..f0c93b9 100644
> --- a/src/lease.c
> +++ b/src/lease.c
> @@ -1198,7 +1198,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 eaa772d..91913ac 100644
> --- a/src/netlink.c
> +++ b/src/netlink.c
> @@ -367,5 +367,3 @@ static void nl_async(struct nlmsghdr *h)
>      queue_event(EVENT_NEWADDR);
>  }
>  #endif
> -
> -      
> diff --git a/src/network.c b/src/network.c
> index c1077b4..aed820d 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/rfc2131.c b/src/rfc2131.c
> index ec2650a..1e402d9 100644
> --- a/src/rfc2131.c
> +++ b/src/rfc2131.c
> @@ -2740,10 +2740,3 @@ static void apply_delay(u32 xid, time_t recvtime, struct dhcp_netid *netid)
>  }
>  
>  #endif
> -  
> -
> -  
> -  
> -
> -
> -  
> -- 
> 2.1.4
> 

Groeten
Geert Stappers
-- 
Leven en laten leven



More information about the Dnsmasq-discuss mailing list