Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin/wsconsctl Mark yyerror as static and dead.
details: https://anonhg.NetBSD.org/src/rev/5e61cca109ef
branches: trunk
changeset: 768830:5e61cca109ef
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 27 19:01:34 2011 +0000
description:
Mark yyerror as static and dead.
diffstat:
sbin/wsconsctl/map_parse.y | 4 ++--
sbin/wsconsctl/wsconsctl.h | 3 +--
2 files changed, 3 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r 55506f987964 -r 5e61cca109ef sbin/wsconsctl/map_parse.y
--- a/sbin/wsconsctl/map_parse.y Sat Aug 27 18:57:50 2011 +0000
+++ b/sbin/wsconsctl/map_parse.y Sat Aug 27 19:01:34 2011 +0000
@@ -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 @@
};
%%
-void
+__dead static void
yyerror(const char *msg)
{
diff -r 55506f987964 -r 5e61cca109ef sbin/wsconsctl/wsconsctl.h
--- a/sbin/wsconsctl/wsconsctl.h Sat Aug 27 18:57:50 2011 +0000
+++ b/sbin/wsconsctl/wsconsctl.h Sat Aug 27 19:01:34 2011 +0000
@@ -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 @@
#ifndef YYEMPTY
int yyparse(void);
#endif
-void yyerror(const char *);
int yylex(void);
void map_scan_setinput(char *);
Home |
Main Index |
Thread Index |
Old Index