Re: [PATCH iproute2] Include bsd/string.h only in include/utils.h

2018-11-05 Thread Stephen Hemminger
On Thu, 1 Nov 2018 22:25:27 + Luca Boccassi wrote: > This is simpler and cleaner, and avoids having to include the header > from every file where the functions are used. The prototypes of the > internal implementation are in this header, so utils.h will have to be > included anyway for those

[PATCH iproute2] Include bsd/string.h only in include/utils.h

2018-11-01 Thread Luca Boccassi
This is simpler and cleaner, and avoids having to include the header from every file where the functions are used. The prototypes of the internal implementation are in this header, so utils.h will have to be included anyway for those. Fixes: 508f3c231efb ("Use libbsd for strlcpy if available") Si