Return to libmain.c CVS log | Up to [local] / src / usr.bin / lex |
File: [local] / src / usr.bin / lex / libmain.c (download)
Revision 1.5, Sat Feb 16 21:27:47 2002 UTC (22 years, 4 months ago) by millert
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically. |
/* $OpenBSD: libmain.c,v 1.5 2002/02/16 21:27:47 millert Exp $ */ /* libmain - flex run-time support library "main" function */ /* $Header: /cvsrepo/anoncvs/cvs/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; }