From a66c9199efe1b215c352e0cf56bfe7a0d1f01e23 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Sat, 27 Apr 2024 20:56:46 +0200 Subject: Fix usage() example --- man/usage.3 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/man/usage.3 b/man/usage.3 index fcd49bf..92b9b43 100644 --- a/man/usage.3 +++ b/man/usage.3 @@ -29,13 +29,14 @@ be provided to the example executable. #include #include -#include +#include /* For lengthof() */ +#include /* For U8() */ #include static const struct op_option opts[] = { - {'a', nullptr, OPT_NONE}, - {'b', nullptr, OPT_NONE}, - {'h', nullptr, OPT_NONE}, + {'a', U8(nullptr), OPT_NONE}, + {'b', U8(nullptr), OPT_NONE}, + {'h', U8(nullptr), OPT_NONE}, }; int -- cgit v1.2.3