wrap kernel function prototype by #ifdef _KERNEL.
This commit is contained in:
parent
2749a115e8
commit
fec624be3f
@ -1,5 +1,5 @@
|
|||||||
/* $NetBSD: esp.h,v 1.10 2000/07/23 05:23:04 itojun Exp $ */
|
/* $NetBSD: esp.h,v 1.11 2000/07/23 08:24:12 itojun Exp $ */
|
||||||
/* $KAME: esp.h,v 1.10 2000/07/20 17:41:01 itojun Exp $ */
|
/* $KAME: esp.h,v 1.11 2000/07/23 08:23:29 itojun Exp $ */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
|
||||||
@ -100,10 +100,10 @@ extern int esp6_output __P((struct mbuf *, u_char *, struct mbuf *,
|
|||||||
struct ipsecrequest *));
|
struct ipsecrequest *));
|
||||||
extern int esp6_input __P((struct mbuf **, int *, int));
|
extern int esp6_input __P((struct mbuf **, int *, int));
|
||||||
#endif /* INET6 */
|
#endif /* INET6 */
|
||||||
#endif /*_KERNEL*/
|
|
||||||
|
|
||||||
extern int esp_schedule __P((const struct esp_algorithm *, struct secasvar *));
|
extern int esp_schedule __P((const struct esp_algorithm *, struct secasvar *));
|
||||||
extern int esp_auth __P((struct mbuf *, size_t, size_t,
|
extern int esp_auth __P((struct mbuf *, size_t, size_t,
|
||||||
struct secasvar *, u_char *));
|
struct secasvar *, u_char *));
|
||||||
|
#endif /*_KERNEL*/
|
||||||
|
|
||||||
#endif /*_NETINET6_ESP_H_*/
|
#endif /*_NETINET6_ESP_H_*/
|
||||||
|
Loading…
Reference in New Issue
Block a user