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 2e8593468a0706815f3a98ec5ef527c0496faaa5..3f855a156586e7859ad3db8943723b391b817027 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 49d0b2bd1feb8eebf8f0fd84f0d8994b3dfee050..b7e50c73740dedf0c76ae2639bd58c397e709da9 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 012f7a1247bc0ae1e4099b079b5047b9a8f11aad..fe7f4ebe5e75494f30bcf47bea801c8654658a9d 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     */