summaryrefslogtreecommitdiff
path: root/bin/test/test.c
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2022-10-11 13:40:39 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2022-10-11 13:40:39 +0000
commit8b7a96e75ed2d348bbf4e86d743acfb7e97dc888 (patch)
tree29b4c86eda14c2799c7c214a94183c58f0491f7d /bin/test/test.c
parent624cd90e258a009e4fb544794ca41c70501a9096 (diff)
correct t_lex_type() return type
ok miod@
Diffstat (limited to 'bin/test/test.c')
-rw-r--r--bin/test/test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/test/test.c b/bin/test/test.c
index 64f58acc2fb..bb49356ec46 100644
--- a/bin/test/test.c
+++ b/bin/test/test.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: test.c,v 1.19 2018/04/02 06:47:43 tobias Exp $ */
+/* $OpenBSD: test.c,v 1.20 2022/10/11 13:40:38 jsg Exp $ */
/* $NetBSD: test.c,v 1.15 1995/03/21 07:04:06 cgd Exp $ */
/*
@@ -140,7 +140,7 @@ char **t_wp;
struct t_op const *t_wp_op;
static enum token t_lex(char *);
-static enum token t_lex_type(char *);
+static enum token_types t_lex_type(char *);
static int oexpr(enum token n);
static int aexpr(enum token n);
static int nexpr(enum token n);
@@ -402,7 +402,7 @@ binop(void)
syntax(op->op_text, "not a binary operator");
}
-static enum token
+static enum token_types
t_lex_type(char *s)
{
struct t_op const *op = ops;