From db4cd241c70dac1b6163968f702b25138ed6a2c8 Mon Sep 17 00:00:00 2001 From: espie <> Date: Fri, 30 Aug 2002 08:50:01 +0000 Subject: [PATCH] put sentinel back in. Thx miod@ --- src/include/bsd_auth.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/include/bsd_auth.h b/src/include/bsd_auth.h index 3df28950..800ec13c 100644 --- a/src/include/bsd_auth.h +++ b/src/include/bsd_auth.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bsd_auth.h,v 1.7 2002/06/07 03:11:31 miod Exp $ */ +/* $OpenBSD: bsd_auth.h,v 1.8 2002/08/30 08:50:01 espie Exp $ */ /*- * Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved. @@ -58,7 +58,9 @@ char *auth_getitem(auth_session_t *, auth_item_t); int auth_setitem(auth_session_t *, auth_item_t, char *); auth_session_t *auth_open(void); -auth_session_t *auth_verify(auth_session_t *, char *, char *, ...); +auth_session_t *auth_verify(auth_session_t *, char *, char *, ...) + __attribute__((sentinel)); + auth_session_t *auth_userchallenge(char *, char *, char *, char **); auth_session_t *auth_usercheck(char *, char *, char *, char *); @@ -76,7 +78,8 @@ void auth_setenv(auth_session_t *); void auth_clrenv(auth_session_t *); void auth_setstate(auth_session_t *, int); -int auth_call(auth_session_t *, char *, ...); +int auth_call(auth_session_t *, char *, ...) + __attribute__((sentinel)); int auth_setdata(auth_session_t *, void *, size_t); int auth_setoption(auth_session_t *, char *, char *);