diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2021-09-30 03:01:34 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2021-10-06 07:14:39 +0000 |
commit | d330c24cc061f87decc678d4d471a61088d730b3 (patch) | |
tree | 5a3beeee251fe89d7fbdd54e1ff8cfeaa54a0069 /libexec/bootpd/lookup.c | |
parent | 188c088fe3510eea080f69a8db447fb9d21b2b73 (diff) |
bootp: remove the USE_BFUNCS knob
We'd likely be better served by converting these to the equivalent mem*
calls, but just kill the knob for now. The b* macros being defined get
in the way of _FORTIFY_SOURCE.
(cherry picked from commit cfb9be506285cd65120f9686d532130a3757ce56)
Diffstat (limited to 'libexec/bootpd/lookup.c')
-rw-r--r-- | libexec/bootpd/lookup.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libexec/bootpd/lookup.c b/libexec/bootpd/lookup.c index 54b3f62242f7..391a1d826d6e 100644 --- a/libexec/bootpd/lookup.c +++ b/libexec/bootpd/lookup.c @@ -17,14 +17,9 @@ extern int ether_hostton(); #endif #include <netdb.h> +#include <strings.h> #include <syslog.h> -#ifndef USE_BFUNCS -#include <memory.h> -/* Yes, memcpy is OK here (no overlapped copies). */ -#define bcopy(a,b,c) memcpy(b,a,c) -#endif - #include "bootp.h" #include "lookup.h" #include "report.h" |