[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.
This commit is contained in:
Damien Miller 2002-02-19 15:24:43 +11:00
parent 993dd55094
commit b046211483
2 changed files with 11 additions and 5 deletions

View File

@ -24,6 +24,12 @@
[ssh-keygen.c] [ssh-keygen.c]
default to rsa keyfile path for non key generation operations where default to rsa keyfile path for non key generation operations where
keyfile not specified. fixes core dump in those cases. ok markus@ keyfile not specified. fixes core dump in those cases. ok markus@
- 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.
20020218 20020218
- (tim) newer config.guess from ftp://ftp.gnu.org/gnu/config/config.guess - (tim) newer config.guess from ftp://ftp.gnu.org/gnu/config/config.guess
@ -7621,4 +7627,4 @@
- Wrote replacements for strlcpy and mkdtemp - Wrote replacements for strlcpy and mkdtemp
- Released 1.0pre1 - Released 1.0pre1
$Id: ChangeLog,v 1.1860 2002/02/19 04:22:47 djm Exp $ $Id: ChangeLog,v 1.1861 2002/02/19 04:24:43 djm Exp $

8
auth.h
View File

@ -21,7 +21,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* *
* $OpenBSD: auth.h,v 1.26 2001/12/27 19:54:53 markus Exp $ * $OpenBSD: auth.h,v 1.27 2002/02/16 21:27:53 millert Exp $
*/ */
#ifndef AUTH_H #ifndef AUTH_H
#define AUTH_H #define AUTH_H
@ -79,12 +79,12 @@ struct Authctxt {
struct KbdintDevice struct KbdintDevice
{ {
const char *name; const char *name;
void* (*init_ctx) __P((Authctxt*)); void* (*init_ctx)(Authctxt*);
int (*query) __P((void *ctx, char **name, char **infotxt, int (*query) __P((void *ctx, char **name, char **infotxt,
u_int *numprompts, char ***prompts, u_int *numprompts, char ***prompts,
u_int **echo_on)); u_int **echo_on));
int (*respond) __P((void *ctx, u_int numresp, char **responses)); int (*respond)(void *ctx, u_int numresp, char **responses);
void (*free_ctx) __P((void *ctx)); void (*free_ctx)(void *ctx);
}; };
int auth_rhosts(struct passwd *, const char *); int auth_rhosts(struct passwd *, const char *);