summaryrefslogtreecommitdiff
path: root/src/lex.l
diff options
context:
space:
mode:
authorTim Wiederhake <twied@gmx.net>2024-01-01 12:22:46 +0100
committerTim Wiederhake <twied@gmx.net>2024-01-01 12:22:46 +0100
commitc7eeb055125892fdea94491e57bc26fa61258a71 (patch)
treeedeb6af109da599ca3c8caee22e385a194a37606 /src/lex.l
parent3cd3dd5b0b7cfe3888ae6f805a8f4c59f034834e (diff)
Silence old-style function definition warning in yywrap
Signed-off-by: Tim Wiederhake <twied@gmx.net>
Diffstat (limited to 'src/lex.l')
-rw-r--r--src/lex.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lex.l b/src/lex.l
index d07a085..81be8e8 100644
--- a/src/lex.l
+++ b/src/lex.l
@@ -139,7 +139,7 @@ number [0-9]+
#ifndef yywrap
int
-yywrap()
+yywrap(void)
{
return (1);
}