Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/bin/expr Mark yyerror as dead.



details:   https://anonhg.NetBSD.org/src/rev/9304cfb5ca24
branches:  trunk
changeset: 768692:9304cfb5ca24
user:      joerg <joerg%NetBSD.org@localhost>
date:      Thu Aug 25 01:11:47 2011 +0000

description:
Mark yyerror as dead.

diffstat:

 bin/expr/expr.y |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r ac70a6764e2d -r 9304cfb5ca24 bin/expr/expr.y
--- a/bin/expr/expr.y   Thu Aug 25 00:25:47 2011 +0000
+++ b/bin/expr/expr.y   Thu Aug 25 01:11:47 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: expr.y,v 1.36 2009/01/20 14:22:37 joerg Exp $ */
+/* $NetBSD: expr.y,v 1.37 2011/08/25 01:11:47 joerg Exp $ */
 
 /*_
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 %{
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: expr.y,v 1.36 2009/01/20 14:22:37 joerg Exp $");
+__RCSID("$NetBSD: expr.y,v 1.37 2011/08/25 01:11:47 joerg Exp $");
 #endif /* not lint */
 
 #include <sys/types.h>
@@ -49,7 +49,7 @@
 
 static const char * const *av;
 
-static void yyerror(const char *, ...);
+static void yyerror(const char *, ...) __dead;
 static int yylex(void);
 static int is_zero_or_null(const char *);
 static int is_integer(const char *);



Home | Main Index | Thread Index | Old Index