From 4ac0ac50ca3a573fa638ca03b6cb7b093a731563 Mon Sep 17 00:00:00 2001 From: icex2 Date: Sun, 28 Jan 2024 22:03:21 +0100 Subject: [PATCH] chore(avs-api): Move psmap terminator to enum --- src/imports/avs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/imports/avs.h b/src/imports/avs.h index c4907da..38547d7 100644 --- a/src/imports/avs.h +++ b/src/imports/avs.h @@ -87,6 +87,7 @@ enum psmap_type { PSMAP_TYPE_STR = 10, PSMAP_TYPE_ATTR = 45, PSMAP_TYPE_BOOL = 50, + PSMAP_TYPE_TERMINATOR = 0xFF, }; #define PSMAP_FLAG_HAVE_DEFAULT 0x01 @@ -123,7 +124,7 @@ struct property_psmap { #define PSMAP_END \ { \ - 0xFF, 0, 0, 0, NULL, 0 \ + PSMAP_TYPE_TERMINATOR, 0, 0, 0, NULL, 0 \ } \ } \ ;