freebsd-ports/net/openospfd/files/patch-ospfctl_parser.c
Emanuel Haupt 86cd978706 Update to 4.2
PR:		120788
Submitted by:	Eygene Ryabinkin <rea-fbsd@codelabs.ru>
Tested by:	Doichin Dokov <root@net1.cc>
Approved by:	maintainer timeout
2008-11-27 20:54:31 +00:00

26 lines
486 B
C

--- ospfctl/parser.c.orig 2008-02-07 19:13:50.000000000 +0300
+++ ospfctl/parser.c 2008-02-07 19:15:47.000000000 +0300
@@ -32,23 +32,6 @@
#include "parser.h"
-enum token_type {
- NOTOKEN,
- ENDTOKEN,
- KEYWORD,
- ADDRESS,
- FLAG,
- PREFIX,
- IFNAME
-};
-
-struct token {
- enum token_type type;
- const char *keyword;
- int value;
- const struct token *next;
-};
-
static const struct token t_main[];
static const struct token t_fib[];
static const struct token t_show[];