mirror of
git://git.code.sf.net/p/dhcpd-pools/code
synced 2025-12-16 15:57:00 +00:00
getdata: memccpy() is better than own similar function
The memccpy() is maintained in libc so there is no reason to reimplement similar functionality within this software. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
parent
5189333c95
commit
5b8ad97611
2 changed files with 7 additions and 26 deletions
|
|
@ -193,12 +193,6 @@ int parse_leases(void);
|
|||
void parse_config(int, const char *__restrict,
|
||||
struct shared_network_t *__restrict)
|
||||
__attribute__ ((nonnull(2, 3)));
|
||||
void nth_field(char *__restrict dest, const char *__restrict src)
|
||||
__attribute__ ((nonnull(1, 2)))
|
||||
# if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 3)
|
||||
__attribute__ ((__hot__))
|
||||
# endif
|
||||
;
|
||||
int prepare_data(void);
|
||||
int do_counting(void);
|
||||
void flip_ranges(struct range_t *__restrict ranges,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue