diff options
author | Kevin Steves <stevesk@cvs.openbsd.org> | 2005-10-30 23:01:39 +0000 |
---|---|---|
committer | Kevin Steves <stevesk@cvs.openbsd.org> | 2005-10-30 23:01:39 +0000 |
commit | cecf5c1949bae2e8c52c42d089cd3f41536e4acc (patch) | |
tree | 683707e7a6cf5a0b0d380895b967d9a8d4de5108 | |
parent | 0c23ab941c25bdb77990f1d6fe47f1e8e7a78725 (diff) |
remove some unneeded #includes and correct keyword in error string;
ok claudio@
-rw-r--r-- | usr.sbin/ospfd/parse.y | 7 |
1 files changed, 2 insertions, 5 deletions
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 <norby@openbsd.org> @@ -23,11 +23,9 @@ %{ #include <sys/types.h> -#include <sys/time.h> #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> -#include <net/if.h> #include <ctype.h> #include <err.h> #include <errno.h> @@ -35,7 +33,6 @@ #include <stdarg.h> #include <stdio.h> #include <string.h> -#include <syslog.h> #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; } |