Fix warnings.
authorBen Laurie <ben@openssl.org>
Sun, 3 Dec 2000 10:04:22 +0000 (10:04 +0000)
committerBen Laurie <ben@openssl.org>
Sun, 3 Dec 2000 10:04:22 +0000 (10:04 +0000)
apps/ca.c
apps/openssl.c
ssl/kssl.c

index 2e85934..3f855a1 100644 (file)
--- a/apps/ca.c
+++ b/apps/ca.c
@@ -215,10 +215,10 @@ static char *section=NULL;
 static int preserve=0;
 static int msie_hack=0;
 
-static IMPLEMENT_LHASH_HASH_FN(index_serial_hash,const char **);
-static IMPLEMENT_LHASH_COMP_FN(index_serial_cmp,const char **);
-static IMPLEMENT_LHASH_HASH_FN(index_name_hash,const char **);
-static IMPLEMENT_LHASH_COMP_FN(index_name_cmp,const char **);
+static IMPLEMENT_LHASH_HASH_FN(index_serial_hash,const char **)
+static IMPLEMENT_LHASH_COMP_FN(index_serial_cmp,const char **)
+static IMPLEMENT_LHASH_HASH_FN(index_name_hash,const char **)
+static IMPLEMENT_LHASH_COMP_FN(index_name_cmp,const char **)
 
 
 int MAIN(int, char **);
index 49d0b2b..b7e50c7 100644 (file)
@@ -85,8 +85,8 @@ char *default_config_file=NULL;
 BIO *bio_err=NULL;
 #endif
 
-static IMPLEMENT_LHASH_HASH_FN(hash,FUNCTION *);
-static IMPLEMENT_LHASH_COMP_FN(cmp,FUNCTION *);
+static IMPLEMENT_LHASH_HASH_FN(hash,FUNCTION *)
+static IMPLEMENT_LHASH_COMP_FN(cmp,FUNCTION *)
 
 int main(int Argc, char *Argv[])
        {
index 012f7a1..fe7f4eb 100644 (file)
@@ -1030,5 +1030,11 @@ void kssl_krb5_free_data_contents(krb5_context context, krb5_data *data)
 #endif
        }
 
-#endif /* NO_KRB5      */
+#else /* !NO_KRB5 */
+
+#ifdef PEDANTIC
+static int dummy=(int)&dummy;
+#endif
+
+#endif /* !NO_KRB5     */