From cecf5c1949bae2e8c52c42d089cd3f41536e4acc Mon Sep 17 00:00:00 2001 From: Kevin Steves Date: Sun, 30 Oct 2005 23:01:39 +0000 Subject: remove some unneeded #includes and correct keyword in error string; ok claudio@ --- usr.sbin/ospfd/parse.y | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'usr.sbin/ospfd/parse.y') diff --git a/usr.sbin/ospfd/parse.y b/usr.sbin/ospfd/parse.y index ce8ad2eb380..b7ec2f71b65 100644 --- a/usr.sbin/ospfd/parse.y +++ b/usr.sbin/ospfd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.19 2005/10/28 14:51:57 stevesk Exp $ */ +/* $OpenBSD: parse.y,v 1.20 2005/10/30 23:01:38 stevesk Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby @@ -23,11 +23,9 @@ %{ #include -#include #include #include #include -#include #include #include #include @@ -35,7 +33,6 @@ #include #include #include -#include #include "ospf.h" #include "ospfd.h" @@ -348,7 +345,7 @@ nl : '\n' optnl /* one newline or more */ area : AREA string { struct in_addr id; if (inet_aton($2, &id) == 0) { - yyerror("error parsing area-id"); + yyerror("error parsing area"); free($2); YYERROR; } -- cgit v1.2.3