X-Git-Url: https://git.saurik.com/apple/ipsec.git/blobdiff_plain/52b7d2ce06d68d0a9160d16f6e7c08c21c149d0d..c8d8bee0bee0298e25cb827876f57e58cc0a938c:/ipsec-tools/setkey/test-pfkey.c diff --git a/ipsec-tools/setkey/test-pfkey.c b/ipsec-tools/setkey/test-pfkey.c index fb80000..c1eee73 100644 --- a/ipsec-tools/setkey/test-pfkey.c +++ b/ipsec-tools/setkey/test-pfkey.c @@ -34,17 +34,10 @@ #include #include #include -#ifdef __APPLE__ -#include +#include #include #include #include -#else -#include -#include -#include -#include -#endif #include #include @@ -59,18 +52,18 @@ u_char m_buf[BUFSIZ]; u_int m_len; char *pname; -void Usage __P((void)); -int sendkeymsg __P((void)); -void key_setsadbmsg __P((u_int)); -void key_setsadbsens __P((void)); -void key_setsadbprop __P((void)); -void key_setsadbid __P((u_int, caddr_t)); -void key_setsadblft __P((u_int, u_int)); -void key_setspirange __P((void)); -void key_setsadbkey __P((u_int, caddr_t)); -void key_setsadbsa __P((void)); -void key_setsadbaddr __P((u_int, u_int, caddr_t)); -void key_setsadbextbuf __P((caddr_t, int, caddr_t, int, caddr_t, int)); +void Usage (void); +int sendkeymsg (void); +void key_setsadbmsg (u_int); +void key_setsadbsens (void); +void key_setsadbprop (void); +void key_setsadbid (u_int, caddr_t); +void key_setsadblft (u_int, u_int); +void key_setspirange (void); +void key_setsadbkey (u_int, caddr_t); +void key_setsadbsa (void); +void key_setsadbaddr (u_int, u_int, caddr_t); +void key_setsadbextbuf (caddr_t, int, caddr_t, int, caddr_t, int); void Usage()