more warning fixes

This commit is contained in:
Brian Wellington
1999-10-08 13:08:57 +00:00
parent 41a28deee4
commit 22fe53a629
5 changed files with 17 additions and 13 deletions

View File

@@ -19,7 +19,7 @@
/*
* Principal Author: Brian Wellington
* $Id: bsafe_link.c,v 1.6 1999/09/27 16:55:44 bwelling Exp $
* $Id: bsafe_link.c,v 1.7 1999/10/08 13:08:56 bwelling Exp $
*/
#include <config.h>
@@ -107,7 +107,8 @@ static dst_result_t dst_bsafe_to_dns(const dst_key_t *in_key,
static dst_result_t dst_bsafe_from_dns(dst_key_t *key, isc_buffer_t *data,
isc_mem_t *mctx);
static dst_result_t dst_bsafe_to_file(const dst_key_t *key);
static dst_result_t dst_bsafe_from_file(dst_key_t *key, const int id,
static dst_result_t dst_bsafe_from_file(dst_key_t *key,
const isc_uint16_t id,
isc_mem_t *mctx);
/*
@@ -623,7 +624,7 @@ dst_bsafe_to_file(const dst_key_t *key) {
*/
static dst_result_t
dst_bsafe_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
dst_bsafe_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
dst_private_t priv;
dst_result_t ret;
isc_buffer_t b;

View File

@@ -77,7 +77,7 @@ struct dst_func {
dst_result_t (*from_dns)(dst_key_t *key, isc_buffer_t *data,
isc_mem_t *mctx);
dst_result_t (*to_file)(const dst_key_t *key);
dst_result_t (*from_file)(dst_key_t *key, const int id,
dst_result_t (*from_file)(dst_key_t *key, const isc_uint16_t id,
isc_mem_t *mctx);
};

View File

@@ -17,7 +17,7 @@
/*
* Principal Author: Brian Wellington
* $Id: hmac_link.c,v 1.8 1999/09/27 16:55:44 bwelling Exp $
* $Id: hmac_link.c,v 1.9 1999/10/08 13:08:56 bwelling Exp $
*/
#include <config.h>
@@ -72,7 +72,8 @@ static dst_result_t dst_hmacmd5_to_dns(const dst_key_t *in_key,
static dst_result_t dst_hmacmd5_from_dns(dst_key_t *key, isc_buffer_t *data,
isc_mem_t *mctx);
static dst_result_t dst_hmacmd5_to_file(const dst_key_t *key);
static dst_result_t dst_hmacmd5_from_file(dst_key_t *key, const int id,
static dst_result_t dst_hmacmd5_from_file(dst_key_t *key,
const isc_uint16_t id,
isc_mem_t *mctx);
/*
@@ -389,7 +390,7 @@ dst_hmacmd5_to_file(const dst_key_t *key) {
*/
static dst_result_t
dst_hmacmd5_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
dst_hmacmd5_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
dst_private_t priv;
dst_result_t ret;
isc_buffer_t b;

View File

@@ -19,7 +19,7 @@
/*
* Principal Author: Brian Wellington
* $Id: openssl_link.c,v 1.8 1999/09/27 16:55:44 bwelling Exp $
* $Id: openssl_link.c,v 1.9 1999/10/08 13:08:56 bwelling Exp $
*/
#include <config.h>
@@ -64,7 +64,8 @@ static dst_result_t dst_openssl_to_dns(const dst_key_t *in_key,
static dst_result_t dst_openssl_from_dns(dst_key_t *key, isc_buffer_t *data,
isc_mem_t *mctx);
static dst_result_t dst_openssl_to_file(const dst_key_t *key);
static dst_result_t dst_openssl_from_file(dst_key_t *key, const int id,
static dst_result_t dst_openssl_from_file(dst_key_t *key,
const isc_uint16_t id,
isc_mem_t *mctx);
static int BN_bn2bin_fixed(BIGNUM *bn, unsigned char *buf,
@@ -439,7 +440,7 @@ dst_openssl_to_file(const dst_key_t *key) {
*/
static dst_result_t
dst_openssl_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
dst_openssl_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
dst_private_t priv;
dst_result_t ret;
isc_buffer_t dns;

View File

@@ -19,7 +19,7 @@
/*
* Principal Author: Brian Wellington
* $Id: openssldh_link.c,v 1.2 1999/10/05 15:06:37 bwelling Exp $
* $Id: openssldh_link.c,v 1.3 1999/10/08 13:08:57 bwelling Exp $
*/
#include <config.h>
@@ -65,7 +65,8 @@ static dst_result_t dst_openssldh_from_dns(dst_key_t *key,
isc_buffer_t *data,
isc_mem_t *mctx);
static dst_result_t dst_openssldh_to_file(const dst_key_t *key);
static dst_result_t dst_openssldh_from_file(dst_key_t *key, const int id,
static dst_result_t dst_openssldh_from_file(dst_key_t *key,
const isc_uint16_t id,
isc_mem_t *mctx);
static void uint16_toregion(isc_uint16_t val, isc_region_t *region);
@@ -415,7 +416,7 @@ dst_openssldh_to_file(const dst_key_t *key) {
*/
static dst_result_t
dst_openssldh_from_file(dst_key_t *key, const int id, isc_mem_t *mctx) {
dst_openssldh_from_file(dst_key_t *key, const isc_uint16_t id, isc_mem_t *mctx) {
dst_private_t priv;
dst_result_t ret;
isc_buffer_t dns;