aboutsummaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2022-05-21 13:54:14 -0500
committerBen Woosley <ben.woosley@gmail.com>2022-05-21 13:54:33 -0500
commit71a8dbe5da0ec2c17c448eb3303eb30615869813 (patch)
treeddbc9962f66320344ef9fa7656b4b9a7f3ae0d9e /src/script
parent640eb772e55671c5dab29843cebe42ec35cb703f (diff)
downloadbitcoin-71a8dbe5da0ec2c17c448eb3303eb30615869813.tar.xz
refactor: Remove defunct attributes.h includes
Since the removal of NODISCARD in 81d5af42f4dba5b68a597536cad7f61894dc22a3, the only attributes def is LIFETIMEBOUND, and it's included in many more places that it is used. This removes all includes which do not have an associated use of LIFETIMEBOUND, and adds it to the following files, due to their use of the same: * src/validationinterface.h * src/script/standard.h
Diffstat (limited to 'src/script')
-rw-r--r--src/script/standard.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/standard.h b/src/script/standard.h
index f0b143c52b..6a15ba4e3d 100644
--- a/src/script/standard.h
+++ b/src/script/standard.h
@@ -6,6 +6,7 @@
#ifndef BITCOIN_SCRIPT_STANDARD_H
#define BITCOIN_SCRIPT_STANDARD_H
+#include <attributes.h>
#include <pubkey.h>
#include <script/interpreter.h>
#include <uint256.h>