diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2010-09-04 08:06:10 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2010-09-04 08:06:10 +0000 |
commit | 3ac5cbff0c78ae8c85ca0007ac380f4ea99353ab (patch) | |
tree | 2acfcf25e3e033d3d833dd50129de3e1f50db91a /sbin/route/keywords.h | |
parent | e4e43e8f70a7ebdb754f8dcace9685a7415403ab (diff) |
sort generated keywords in order to replace linear probe with bsearch(3)
(more people should know about how to properly use libc-provided tools)
make keywords.h depend upon keywords.sh, so that it gets automatically
rebuilt when keywords.sh is edited
ok claudio@
Diffstat (limited to 'sbin/route/keywords.h')
-rw-r--r-- | sbin/route/keywords.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/sbin/route/keywords.h b/sbin/route/keywords.h index 722ff225f08..93742b46edb 100644 --- a/sbin/route/keywords.h +++ b/sbin/route/keywords.h @@ -1,4 +1,4 @@ -/* $OpenBSD: keywords.h,v 1.26 2009/12/01 16:21:46 reyk Exp $ */ +/* $OpenBSD: keywords.h,v 1.27 2010/09/04 08:06:09 blambert Exp $ */ /* WARNING! This file was generated by keywords.sh */ @@ -22,15 +22,15 @@ enum { K_GATEWAY, K_GENMASK, K_GET, - K_HOST, K_HOPCOUNT, - K_IFACE, - K_INTERFACE, + K_HOST, K_IFA, + K_IFACE, K_IFP, K_IN, K_INET, K_INET6, + K_INTERFACE, K_JUMBO, K_LABEL, K_LINK, @@ -80,15 +80,15 @@ struct keytab keywords[] = { { "gateway", K_GATEWAY }, { "genmask", K_GENMASK }, { "get", K_GET }, - { "host", K_HOST }, { "hopcount", K_HOPCOUNT }, - { "iface", K_IFACE }, - { "interface", K_INTERFACE }, + { "host", K_HOST }, { "ifa", K_IFA }, + { "iface", K_IFACE }, { "ifp", K_IFP }, { "in", K_IN }, { "inet", K_INET }, { "inet6", K_INET6 }, + { "interface", K_INTERFACE }, { "jumbo", K_JUMBO }, { "label", K_LABEL }, { "link", K_LINK }, @@ -122,6 +122,5 @@ struct keytab keywords[] = { { "static", K_STATIC }, { "swap", K_SWAP }, { "xresolve", K_XRESOLVE }, - { 0, 0 } }; |