diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2002-03-14 01:27:20 +0000 |
commit | 8327d0774703553db5e1a41a04bfdf4b1797c2ce (patch) | |
tree | ac9a52bace179e17769651fb9f805070d78abe5f /sys/uvm/uvm_swap_encrypt.h | |
parent | 7b2c79b5895287d37f0c4e3adfc396eb7a6c03fb (diff) |
First round of __P removal in sys
Diffstat (limited to 'sys/uvm/uvm_swap_encrypt.h')
-rw-r--r-- | sys/uvm/uvm_swap_encrypt.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sys/uvm/uvm_swap_encrypt.h b/sys/uvm/uvm_swap_encrypt.h index a1e29354588..9a43dfb6fea 100644 --- a/sys/uvm/uvm_swap_encrypt.h +++ b/sys/uvm/uvm_swap_encrypt.h @@ -1,4 +1,4 @@ -/* $OpenBSD: uvm_swap_encrypt.h,v 1.5 2001/01/29 02:07:50 niklas Exp $ */ +/* $OpenBSD: uvm_swap_encrypt.h,v 1.6 2002/03/14 01:27:19 millert Exp $ */ /* * Copyright 1999 Niels Provos <provos@citi.umich.edu> @@ -52,14 +52,14 @@ struct swap_key { u_int16_t refcount; /* pages that still need it */ }; -int swap_encrypt_ctl __P((int *, u_int, void *, size_t *, void *, size_t, - struct proc *)); +int swap_encrypt_ctl(int *, u_int, void *, size_t *, void *, size_t, + struct proc *); -void swap_encrypt __P((struct swap_key *,caddr_t, caddr_t, u_int64_t, size_t)); -void swap_decrypt __P((struct swap_key *,caddr_t, caddr_t, u_int64_t, size_t)); +void swap_encrypt(struct swap_key *,caddr_t, caddr_t, u_int64_t, size_t); +void swap_decrypt(struct swap_key *,caddr_t, caddr_t, u_int64_t, size_t); -void swap_key_cleanup __P((struct swap_key *)); -void swap_key_prepare __P((struct swap_key *, int)); +void swap_key_cleanup(struct swap_key *); +void swap_key_prepare(struct swap_key *, int); #define SWAP_KEY_GET(s,x) do { if ((x)->refcount == 0) {\ swap_key_create(x); \ @@ -71,8 +71,8 @@ void swap_key_prepare __P((struct swap_key *, int)); } \ } while(0); -void swap_key_create __P((struct swap_key *)); -void swap_key_delete __P((struct swap_key *)); +void swap_key_create(struct swap_key *); +void swap_key_delete(struct swap_key *); extern int uvm_doswapencrypt; /* swapencrypt enabled/disabled */ extern int uvm_swprekeyprint; |