mirror of
https://github.com/GnoConsortium/gno.git
synced 2024-12-30 04:33:01 +00:00
prototyped
This commit is contained in:
parent
6848d48a2e
commit
a669d1f0ac
@ -31,11 +31,15 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
#if !defined(lint) && !defined(__GNO__)
|
||||
static char sccsid[] = "@(#)main.c 8.1 (Berkeley) 6/4/93";
|
||||
#endif /* not lint */
|
||||
|
||||
main()
|
||||
extern int yyparse(void);
|
||||
extern int exit(int);
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
exit(yyparse());
|
||||
}
|
||||
|
@ -31,14 +31,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef lint
|
||||
#if !defined(lint) && !defined(__GNO__)
|
||||
static char sccsid[] = "@(#)yyerror.c 8.1 (Berkeley) 6/4/93";
|
||||
#endif /* not lint */
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
yyerror(msg)
|
||||
char *msg;
|
||||
int
|
||||
yyerror(char *msg)
|
||||
{
|
||||
(void)fprintf(stderr, "%s\n", msg);
|
||||
return(0);
|
||||
|
Loading…
Reference in New Issue
Block a user