dnsmasq: backport latest patches
[openwrt/openwrt.git] / package / network / services / dnsmasq / patches / 0043-Remove-redundant-prototypes-from-dnsmasq.h.patch
1 From c61c7bb2257059fe1e14851289594415eb0659d7 Mon Sep 17 00:00:00 2001
2 From: Dominik DL6ER <dl6er@dl6er.de>
3 Date: Sun, 10 Mar 2019 19:37:57 +0100
4 Subject: [PATCH 43/57] Remove redundant prototypes from dnsmasq.h
5
6 Dear Simon,
7
8 the attached patch removes three redundant prototypes from dnsmasq.h. There is no functional change.
9
10 Best regards,
11 Dominik
12
13 From c0b2ccfd20c4eec9d09468fdfe9b4ca8a8f8591e Mon Sep 17 00:00:00 2001
14 From: DL6ER <dl6er@dl6er.de>
15 Date: Sun, 10 Mar 2019 19:34:07 +0100
16 Subject: [PATCH] Remove redundant prototypes from dnsmasq.h
17
18 Signed-off-by: DL6ER <dl6er@dl6er.de>
19 Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
20 ---
21 src/dnsmasq.h | 5 -----
22 1 file changed, 5 deletions(-)
23
24 --- a/src/dnsmasq.h
25 +++ b/src/dnsmasq.h
26 @@ -1205,9 +1205,6 @@ size_t resize_packet(struct dns_header *
27 int add_resource_record(struct dns_header *header, char *limit, int *truncp,
28 int nameoffset, unsigned char **pp, unsigned long ttl,
29 int *offset, unsigned short type, unsigned short class, char *format, ...);
30 -unsigned char *skip_questions(struct dns_header *header, size_t plen);
31 -int extract_name(struct dns_header *header, size_t plen, unsigned char **pp,
32 - char *name, int isExtract, int extrabytes);
33 int in_arpa_name_2_addr(char *namein, union all_addr *addrp);
34 int private_net(struct in_addr addr, int ban_localhost);
35
36 @@ -1545,8 +1542,6 @@ void dhcp_update_configs(struct dhcp_con
37 void display_opts(void);
38 int lookup_dhcp_opt(int prot, char *name);
39 int lookup_dhcp_len(int prot, int val);
40 -char *option_string(int prot, unsigned int opt, unsigned char *val,
41 - int opt_len, char *buf, int buf_len);
42 struct dhcp_config *find_config(struct dhcp_config *configs,
43 struct dhcp_context *context,
44 unsigned char *clid, int clid_len,