summaryrefslogtreecommitdiff
path: root/auth.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-02-19 15:24:43 +1100
committerDamien Miller <djm@mindrot.org>2002-02-19 15:24:43 +1100
commitb0462114834f6673f5bb767cbdafe48dafa8a1e4 (patch)
tree545f1f08daf3efff16fa9cf782803a998b6bb94b /auth.h
parent993dd5509408c026f50bc09dc1acd105c84649a8 (diff)
- millert@cvs.openbsd.org 2002/02/16 21:27:53
[auth.h] Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'auth.h')
-rw-r--r--auth.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/auth.h b/auth.h
index ef2772d89..6db5b6e54 100644
--- a/auth.h
+++ b/auth.h
@@ -21,7 +21,7 @@
21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 21 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 * 23 *
24 * $OpenBSD: auth.h,v 1.26 2001/12/27 19:54:53 markus Exp $ 24 * $OpenBSD: auth.h,v 1.27 2002/02/16 21:27:53 millert Exp $
25 */ 25 */
26#ifndef AUTH_H 26#ifndef AUTH_H
27#define AUTH_H 27#define AUTH_H
@@ -79,12 +79,12 @@ struct Authctxt {
79struct KbdintDevice 79struct KbdintDevice
80{ 80{
81 const char *name; 81 const char *name;
82 void* (*init_ctx) __P((Authctxt*)); 82 void* (*init_ctx)(Authctxt*);
83 int (*query) __P((void *ctx, char **name, char **infotxt, 83 int (*query) __P((void *ctx, char **name, char **infotxt,
84 u_int *numprompts, char ***prompts, 84 u_int *numprompts, char ***prompts,
85 u_int **echo_on)); 85 u_int **echo_on));
86 int (*respond) __P((void *ctx, u_int numresp, char **responses)); 86 int (*respond)(void *ctx, u_int numresp, char **responses);
87 void (*free_ctx) __P((void *ctx)); 87 void (*free_ctx)(void *ctx);
88}; 88};
89 89
90int auth_rhosts(struct passwd *, const char *); 90int auth_rhosts(struct passwd *, const char *);