summaryrefslogtreecommitdiff
path: root/usr.bin/lex/libmain.c
blob: 417155f2b0d911e1372b622b026198ce4501aabe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/*	$OpenBSD: libmain.c,v 1.7 2012/12/05 23:20:25 deraadt Exp $	*/

/* libmain - flex run-time support library "main" function */

/* $Header: /cvs/OpenBSD/src/usr.bin/lex/libmain.c,v 1.7 2012/12/05 23:20:25 deraadt Exp $ */


int yylex(void);
int main(int, char **);

/* ARGSUSED */
int
main(int argc, char *argv[])
{
	while (yylex() != 0)
		;

	return 0;
}