summaryrefslogtreecommitdiff
path: root/usr.bin/lex/libmain.c
blob: d42014e02df960ecf080caeba40867993e0401f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*	$OpenBSD: libmain.c,v 1.5 2002/02/16 21:27:47 millert Exp $	*/

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

/* $Header: /cvs/OpenBSD/src/usr.bin/lex/libmain.c,v 1.5 2002/02/16 21:27:47 millert Exp $ */

#include <sys/cdefs.h>

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

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

	return 0;
	}