aboutsummaryrefslogtreecommitdiff
path: root/libexec/bootpd/tools/bootpef/bootpef.c
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2021-09-30 03:01:34 +0000
committerKyle Evans <kevans@FreeBSD.org>2021-10-06 07:14:39 +0000
commitd330c24cc061f87decc678d4d471a61088d730b3 (patch)
tree5a3beeee251fe89d7fbdd54e1ff8cfeaa54a0069 /libexec/bootpd/tools/bootpef/bootpef.c
parent188c088fe3510eea080f69a8db447fb9d21b2b73 (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/tools/bootpef/bootpef.c')
-rw-r--r--libexec/bootpd/tools/bootpef/bootpef.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libexec/bootpd/tools/bootpef/bootpef.c b/libexec/bootpd/tools/bootpef/bootpef.c
index 04089c87b560..7ed3786d892e 100644
--- a/libexec/bootpd/tools/bootpef/bootpef.c
+++ b/libexec/bootpd/tools/bootpef/bootpef.c
@@ -55,14 +55,6 @@ SOFTWARE.
#include <ctype.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)
-#define bzero(p,l) memset(p,0,l)
-#define bcmp(a,b,c) memcmp(a,b,c)
-#endif
-
#include "bootp.h"
#include "hash.h"
#include "hwaddr.h"