summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Laurie <ben@openssl.org>2000-12-03 10:04:22 +0000
committerBen Laurie <ben@openssl.org>2000-12-03 10:04:22 +0000
commitb0dc680f71db4f79c01b41975f869f7346542098 (patch)
tree654bb9db77076011944459bea2f2aa3768fe4ead
parentaddb309ad64d1685cd246f65562c5702710c9853 (diff)
Fix warnings.
-rw-r--r--apps/ca.c8
-rw-r--r--apps/openssl.c4
-rw-r--r--ssl/kssl.c8
3 files changed, 13 insertions, 7 deletions
diff --git a/apps/ca.c b/apps/ca.c
index 2e8593468a..3f855a1565 100644
--- 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 **);
diff --git a/apps/openssl.c b/apps/openssl.c
index 49d0b2bd1f..b7e50c7374 100644
--- a/apps/openssl.c
+++ b/apps/openssl.c
@@ -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[])
{
diff --git a/ssl/kssl.c b/ssl/kssl.c
index 012f7a1247..fe7f4ebe5e 100644
--- a/ssl/kssl.c
+++ b/ssl/kssl.c
@@ -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 */