From a7c803af0761e13a4f1049e66698609397dc2153 Mon Sep 17 00:00:00 2001 From: kristerw Date: Wed, 9 Jul 2003 01:59:34 +0000 Subject: [PATCH] Remove variable names from prototypes. --- include/db.h | 4 ++-- include/nsswitch.h | 5 ++--- include/resolv.h | 26 +++++++++++++------------- include/sha1.h | 10 +++++----- 4 files changed, 22 insertions(+), 23 deletions(-) diff --git a/include/db.h b/include/db.h index 4318e9f2125b..f235e4cf82d4 100644 --- a/include/db.h +++ b/include/db.h @@ -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_ */ diff --git a/include/nsswitch.h b/include/nsswitch.h index 0454411c756e..e9e6151faaa3 100644 --- a/include/nsswitch.h +++ b/include/nsswitch.h @@ -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; diff --git a/include/resolv.h b/include/resolv.h index f2ef6d8dae63..bf4c689eecf8 100644 --- a/include/resolv.h +++ b/include/resolv.h @@ -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 */ diff --git a/include/sha1.h b/include/sha1.h index dccfdeb9f532..a9738c755269 100644 --- a/include/sha1.h +++ b/include/sha1.h @@ -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 *));