diff options
author | Igor Sobrado <sobrado@cvs.openbsd.org> | 2011-03-31 09:19:36 +0000 |
---|---|---|
committer | Igor Sobrado <sobrado@cvs.openbsd.org> | 2011-03-31 09:19:36 +0000 |
commit | 10fdca655b1861adf6382ed56bd3eff2657ca59c (patch) | |
tree | a63e52fa1380f63c566d6c0473b340c8a5097aa3 /usr.sbin/pppoe/pppoe.h | |
parent | a22b86fa19fb21bfa02387560a32eada7648740b (diff) |
remove dead code from pppoe(8).
found by Michael W. Bombardieri for tag_ntoh() and tag_show(),
improved later by yasuoka@ to include tag_hton() which is called
one time but never used.
ok yasuoka@
Diffstat (limited to 'usr.sbin/pppoe/pppoe.h')
-rw-r--r-- | usr.sbin/pppoe/pppoe.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/pppoe/pppoe.h b/usr.sbin/pppoe/pppoe.h index 9eef41fc860..c18445c6b80 100644 --- a/usr.sbin/pppoe/pppoe.h +++ b/usr.sbin/pppoe/pppoe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pppoe.h,v 1.7 2004/05/06 20:29:04 deraadt Exp $ */ +/* $OpenBSD: pppoe.h,v 1.8 2011/03/31 09:19:35 sobrado Exp $ */ /* * Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net @@ -99,13 +99,10 @@ struct tag_node { }; void tag_init(struct tag_list *); -void tag_show(struct tag_list *); void tag_destroy(struct tag_list *); struct tag_node *tag_lookup(struct tag_list *, u_int16_t, int); int tag_add(struct tag_list *, u_int16_t, u_int16_t, u_int8_t *); int tag_pkt(struct tag_list *, u_long, u_int8_t *); -void tag_hton(struct tag_list *); -void tag_ntoh(struct tag_list *); struct pppoe_session { LIST_ENTRY(pppoe_session) s_next; |