Remove variable names from prototypes.

This commit is contained in:
kristerw 2003-07-09 01:59:34 +00:00
parent 0f8d87a96d
commit a7c803af07
4 changed files with 22 additions and 23 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: db.h,v 1.18 2002/05/30 14:13:01 itojun Exp $ */
/* $NetBSD: db.h,v 1.19 2003/07/09 01:59:34 kristerw Exp $ */
/*-
* Copyright (c) 1990, 1993, 1994
@ -220,7 +220,7 @@ DB *dbopen __P((const char *, int, mode_t, DBTYPE, const void *));
DB *__bt_open __P((const char *, int, mode_t, const BTREEINFO *, int));
DB *__hash_open __P((const char *, int, mode_t, const HASHINFO *, int));
DB *__rec_open __P((const char *, int, mode_t, const RECNOINFO *, int));
void __dbpanic __P((DB *dbp));
void __dbpanic __P((DB *));
#endif
__END_DECLS
#endif /* !_DB_H_ */

View File

@ -1,4 +1,4 @@
/* $NetBSD: nsswitch.h,v 1.11 2000/12/20 20:47:55 christos Exp $ */
/* $NetBSD: nsswitch.h,v 1.12 2003/07/09 01:59:34 kristerw Exp $ */
/*-
* Copyright (c) 1997, 1998, 1999 The NetBSD Foundation, Inc.
@ -108,8 +108,7 @@
*/
typedef struct {
const char *src;
int (*callback) __P((void *retval, void *cb_data,
_BSD_VA_LIST_));
int (*callback) __P((void *, void *, _BSD_VA_LIST_));
void *cb_data;
} ns_dtab;

View File

@ -1,4 +1,4 @@
/* $NetBSD: resolv.h,v 1.20 2003/01/06 13:17:01 wiz Exp $ */
/* $NetBSD: resolv.h,v 1.21 2003/07/09 01:59:34 kristerw Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@ -211,19 +211,19 @@ struct __res_state_ext {
typedef enum { res_goahead, res_nextns, res_modified, res_done, res_error }
res_sendhookact;
typedef res_sendhookact (*res_send_qhook)__P((struct sockaddr_in * const *ns,
const u_char **query,
int *querylen,
u_char *ans,
int anssiz,
int *resplen));
typedef res_sendhookact (*res_send_qhook)__P((struct sockaddr_in * const *,
const u_char **,
int *,
u_char *,
int,
int *));
typedef res_sendhookact (*res_send_rhook)__P((const struct sockaddr_in *ns,
const u_char *query,
int querylen,
u_char *ans,
int anssiz,
int *resplen));
typedef res_sendhookact (*res_send_rhook)__P((const struct sockaddr_in *,
const u_char *,
int,
u_char *,
int,
int *));
struct res_sym {
int number; /* Identifying number, like T_MX */

View File

@ -1,4 +1,4 @@
/* $NetBSD: sha1.h,v 1.1 2002/03/31 14:12:37 bjh21 Exp $ */
/* $NetBSD: sha1.h,v 1.2 2003/07/09 01:59:34 kristerw Exp $ */
/*
* SHA-1 in C
@ -17,10 +17,10 @@ typedef struct {
u_char buffer[64];
} SHA1_CTX;
void SHA1Transform __P((u_int32_t state[5], const u_char buffer[64]));
void SHA1Init __P((SHA1_CTX *context));
void SHA1Update __P((SHA1_CTX *context, const u_char *data, u_int len));
void SHA1Final __P((u_char digest[20], SHA1_CTX *context));
void SHA1Transform __P((u_int32_t[5], const u_char[64]));
void SHA1Init __P((SHA1_CTX *));
void SHA1Update __P((SHA1_CTX *, const u_char *, u_int));
void SHA1Final __P((u_char[20], SHA1_CTX *));
#ifndef _KERNEL
char *SHA1End __P((SHA1_CTX *, char *));
char *SHA1File __P((char *, char *));