diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-25 19:25:07 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-06-25 19:25:07 +0000 |
commit | b1fd6e6b161a30cfbdb8e2285404f595fc6cb86f (patch) | |
tree | e9936f08e924dc2fbee6f6304fd25d7e4f177600 | |
parent | d51a03bfa5a2b1b063be66740d7d0857b7f54586 (diff) |
hide name2id prototypes in #ifdef _KERNEL, claudio ok
-rw-r--r-- | sys/net/route.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/route.h b/sys/net/route.h index 3d5d95ac872..1b3abd8156c 100644 --- a/sys/net/route.h +++ b/sys/net/route.h @@ -1,4 +1,4 @@ -/* $OpenBSD: route.h,v 1.30 2005/06/08 06:43:07 henning Exp $ */ +/* $OpenBSD: route.h,v 1.31 2005/06/25 19:25:06 henning Exp $ */ /* $NetBSD: route.h,v 1.9 1996/02/13 22:00:49 christos Exp $ */ /* @@ -278,11 +278,11 @@ struct sockaddr_rtlabel { char sr_label[RTLABEL_LEN]; }; +#ifdef _KERNEL const char *rtlabel_id2name(u_int16_t); u_int16_t rtlabel_name2id(char *); void rtlabel_unref(u_int16_t); -#ifdef _KERNEL #define RTFREE(rt) do { \ if ((rt)->rt_refcnt <= 1) \ rtfree(rt); \ |