summaryrefslogtreecommitdiff
path: root/libexec/ld.so/i386
diff options
context:
space:
mode:
authorGreg Steuck <gnezdo@cvs.openbsd.org>2023-01-29 20:30:22 +0000
committerGreg Steuck <gnezdo@cvs.openbsd.org>2023-01-29 20:30:22 +0000
commit2aca5a2f038b7aa5a538d40cd77938b5f1ae6c0f (patch)
tree59e0d52e1c4d2a409b9be5a68a283c7dfb8d765c /libexec/ld.so/i386
parent63a665decb4aefb5b11c7ff622b7782a8718705f (diff)
Unite all nitems copies in ld.so/util.h
OK deraadt
Diffstat (limited to 'libexec/ld.so/i386')
-rw-r--r--libexec/ld.so/i386/rtld_machine.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libexec/ld.so/i386/rtld_machine.c b/libexec/ld.so/i386/rtld_machine.c
index 254d5c42304..4831523a78c 100644
--- a/libexec/ld.so/i386/rtld_machine.c
+++ b/libexec/ld.so/i386/rtld_machine.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtld_machine.c,v 1.50 2022/05/10 20:23:57 kettenis Exp $ */
+/* $OpenBSD: rtld_machine.c,v 1.51 2023/01/29 20:30:21 gnezdo Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -75,8 +75,6 @@
#include "util.h"
#include "resolve.h"
-#define nitems(_a) (sizeof((_a)) / sizeof((_a)[0]))
-
int64_t pcookie __attribute__((section(".openbsd.randomdata"))) __dso_hidden;
/*