Module Name:    src
Committed By:   joerg
Date:           Sat Aug 27 19:01:34 UTC 2011

Modified Files:
        src/sbin/wsconsctl: map_parse.y wsconsctl.h

Log Message:
Mark yyerror as static and dead.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sbin/wsconsctl/map_parse.y
cvs rdiff -u -r1.10 -r1.11 src/sbin/wsconsctl/wsconsctl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/wsconsctl/map_parse.y
diff -u src/sbin/wsconsctl/map_parse.y:1.9 src/sbin/wsconsctl/map_parse.y:1.10
--- src/sbin/wsconsctl/map_parse.y:1.9	Tue Nov 30 12:22:06 2010
+++ src/sbin/wsconsctl/map_parse.y	Sat Aug 27 19:01:34 2011
@@ -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)
 {
 

Index: src/sbin/wsconsctl/wsconsctl.h
diff -u src/sbin/wsconsctl/wsconsctl.h:1.10 src/sbin/wsconsctl/wsconsctl.h:1.11
--- src/sbin/wsconsctl/wsconsctl.h:1.10	Mon Apr 28 20:23:09 2008
+++ src/sbin/wsconsctl/wsconsctl.h	Sat Aug 27 19:01:34 2011
@@ -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 *);

Reply via email to