Mark yyerror as static and dead.
This commit is contained in:
parent
b79356001b
commit
e837071dcc
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: map_parse.y,v 1.9 2010/11/30 12:22:06 phx Exp $ */
|
||||
/* $NetBSD: map_parse.y,v 1.10 2011/08/27 19:01:34 joerg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
|
@ -198,7 +198,7 @@ keysym_var : T_KEYSYM_VAR = {
|
|||
};
|
||||
%%
|
||||
|
||||
void
|
||||
__dead static void
|
||||
yyerror(const char *msg)
|
||||
{
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: wsconsctl.h,v 1.10 2008/04/28 20:23:09 martin Exp $ */
|
||||
/* $NetBSD: wsconsctl.h,v 1.11 2011/08/27 19:01:34 joerg Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998, 2004 The NetBSD Foundation, Inc.
|
||||
|
@ -91,6 +91,5 @@ void display_put_values(int);
|
|||
#ifndef YYEMPTY
|
||||
int yyparse(void);
|
||||
#endif
|
||||
void yyerror(const char *);
|
||||
int yylex(void);
|
||||
void map_scan_setinput(char *);
|
||||
|
|
Loading…
Reference in New Issue