zeekygen/example: Squelch unused function warning

This commit is contained in:
Arne Welzel 2023-10-11 11:58:57 +02:00
parent ffc35d90ba
commit 6fd68bc607
2 changed files with 2 additions and 1 deletions

View file

@ -173,7 +173,7 @@ export {
# This function isn't exported, so it won't appear anywhere in the generated
# documentation. So using ``##``-style comments is pointless here.
function function_without_proto(tag: string): string
function function_without_proto(tag: string): string &is_used
{
# Zeekygen-style comments only apply to entities at global-scope so
# Zeekygen doesn't associate the following comments with anything.