summaryrefslogtreecommitdiff
path: root/lib/libcrypto/lhash
diff options
context:
space:
mode:
authorBob Beck <beck@cvs.openbsd.org>2014-05-29 20:21:24 +0000
committerBob Beck <beck@cvs.openbsd.org>2014-05-29 20:21:24 +0000
commit4b83ed84c358f5a49df194b2f225f69533870f5c (patch)
tree197185e303204be261fd93b5d344721e33d08dc6 /lib/libcrypto/lhash
parentb5a8f988f407de25c016d121edcfc3e2a5272bdc (diff)
Everything sane has stdio, and FILE *. we don't need ifdefs for this.
ok to firebomb from tedu@
Diffstat (limited to 'lib/libcrypto/lhash')
-rw-r--r--lib/libcrypto/lhash/lh_stats.c2
-rw-r--r--lib/libcrypto/lhash/lhash.h4
2 files changed, 0 insertions, 6 deletions
diff --git a/lib/libcrypto/lhash/lh_stats.c b/lib/libcrypto/lhash/lh_stats.c
index 34c7d77cb12..4676d9810d6 100644
--- a/lib/libcrypto/lhash/lh_stats.c
+++ b/lib/libcrypto/lhash/lh_stats.c
@@ -140,7 +140,6 @@ lh_node_usage_stats(LHASH *lh, FILE *out)
#else
-#ifndef OPENSSL_NO_FP_API
void
lh_stats(const _LHASH *lh, FILE *fp)
{
@@ -183,7 +182,6 @@ lh_node_usage_stats(const _LHASH *lh, FILE *fp)
end:;
}
-#endif
void
lh_stats_bio(const _LHASH *lh, BIO *out)
diff --git a/lib/libcrypto/lhash/lhash.h b/lib/libcrypto/lhash/lhash.h
index 187a2842436..8147417cd80 100644
--- a/lib/libcrypto/lhash/lhash.h
+++ b/lib/libcrypto/lhash/lhash.h
@@ -65,9 +65,7 @@
#include <openssl/opensslconf.h>
-#ifndef OPENSSL_NO_FP_API
#include <stdio.h>
-#endif
#ifndef OPENSSL_NO_BIO
#include <openssl/bio.h>
@@ -181,11 +179,9 @@ void lh_doall_arg(_LHASH *lh, LHASH_DOALL_ARG_FN_TYPE func, void *arg);
unsigned long lh_strhash(const char *c);
unsigned long lh_num_items(const _LHASH *lh);
-#ifndef OPENSSL_NO_FP_API
void lh_stats(const _LHASH *lh, FILE *out);
void lh_node_stats(const _LHASH *lh, FILE *out);
void lh_node_usage_stats(const _LHASH *lh, FILE *out);
-#endif
#ifndef OPENSSL_NO_BIO
void lh_stats_bio(const _LHASH *lh, BIO *out);