aboutsummaryrefslogtreecommitdiff
path: root/repos/extra/libnl-tiny/nla_s8.patch
diff options
context:
space:
mode:
authorWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-05-24 15:40:32 +0000
committerWoodpecker CI <emmett1.2miligrams@protonmail.com>2026-05-24 15:40:32 +0000
commitdea2a1fa20fc8e843cd85e5920a67b9054d00b2e (patch)
treef331ff92dc5fd26f5803b483a24a0a21fd9bb97a /repos/extra/libnl-tiny/nla_s8.patch
parentef5bfeb93345a5a681d88e99775622bf28defd8d (diff)
downloadalicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.tar.gz
alicelinux-dea2a1fa20fc8e843cd85e5920a67b9054d00b2e.zip
Woodpecker CI ef5bfeb93345a5a681d88e99775622bf28defd8d [SKIP CI]
Diffstat (limited to 'repos/extra/libnl-tiny/nla_s8.patch')
-rw-r--r--repos/extra/libnl-tiny/nla_s8.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/repos/extra/libnl-tiny/nla_s8.patch b/repos/extra/libnl-tiny/nla_s8.patch
deleted file mode 100644
index 9a48b1f4..00000000
--- a/repos/extra/libnl-tiny/nla_s8.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-diff --git a/include/netlink/attr.h b/include/netlink/attr.h
-index 3e3047f..789e8c2 100644
---- a/include/netlink/attr.h
-+++ b/include/netlink/attr.h
-@@ -45,6 +45,7 @@ enum {
- NLA_FLAG, /**< Flag */
- NLA_MSECS, /**< Micro seconds (64bit) */
- NLA_NESTED, /**< Nested attributes */
-+ NLA_S8,
- __NLA_TYPE_MAX,
- };
-
-@@ -248,6 +249,17 @@ static inline int nla_put_addr(struct nl_msg *msg, int attrtype, struct nl_addr
- * @name Integer Attributes
- */
-
-+/**
-+ * Return value of 8 bit signed integer attribute.
-+ * @arg nla 8 bit integer attribute
-+ *
-+ * @return Payload as 8 bit integer
-+ */
-+static inline int8_t nla_get_s8(const struct nlattr *nla)
-+{
-+ return *(const int8_t *) nla_data(nla);
-+}
-+
- /**
- * Add 8 bit integer attribute to netlink message.
- * @arg msg Netlink message.