summaryrefslogtreecommitdiff
path: root/usr.bin/lex
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2015-11-22 19:55:23 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2015-11-22 19:55:23 +0000
commit170274fffb04539ec61c660a0f2c0449a50e4045 (patch)
tree321c7b58e300f911b147869abe2395076dc834a1 /usr.bin/lex
parente6e807ccf65049a78d7b6772b1086f873b300187 (diff)
return to size_t typedef for yy_size_t.
kettenis found and fixed the bug in the ld lexer.
Diffstat (limited to 'usr.bin/lex')
-rw-r--r--usr.bin/lex/flex.skl4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/lex/flex.skl b/usr.bin/lex/flex.skl
index d888d653a1c..bb230208a7a 100644
--- a/usr.bin/lex/flex.skl
+++ b/usr.bin/lex/flex.skl
@@ -1,4 +1,4 @@
-/* $OpenBSD: flex.skl,v 1.14 2015/11/21 13:25:12 tedu Exp $ */
+/* $OpenBSD: flex.skl,v 1.15 2015/11/22 19:55:22 tedu Exp $ */
%# -*-C-*- vi: set ft=c:
%# This file is processed in several stages.
@@ -467,7 +467,7 @@ typedef struct yy_buffer_state *YY_BUFFER_STATE;
#ifndef YY_TYPEDEF_YY_SIZE_T
#define YY_TYPEDEF_YY_SIZE_T
-typedef unsigned int yy_size_t;
+typedef size_t yy_size_t;
#endif
%if-not-reentrant