Leftover includes and local declarations; from Gebruiker Schoot
authormiod <miod@openbsd.org>
Mon, 28 Apr 2014 19:04:59 +0000 (19:04 +0000)
committermiod <miod@openbsd.org>
Mon, 28 Apr 2014 19:04:59 +0000 (19:04 +0000)
lib/libcrypto/mem_dbg.c
lib/libssl/src/crypto/mem_dbg.c

index 3b51be6..4337c52 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <time.h>
-#include "cryptlib.h"
 #include <openssl/crypto.h>
-#include <openssl/buffer.h>
 #include <openssl/bio.h>
 #include <openssl/lhash.h>
 
@@ -199,8 +196,6 @@ CRYPTO_mem_leaks_fp(FILE *fp)
 #endif
 
 
-typedef CRYPTO_MEM_LEAK_CB *PCRYPTO_MEM_LEAK_CB;
-
 void
 CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb)
 {
index 3b51be6..4337c52 100644 (file)
 
 #include <stdio.h>
 #include <stdlib.h>
-#include <time.h>
-#include "cryptlib.h"
 #include <openssl/crypto.h>
-#include <openssl/buffer.h>
 #include <openssl/bio.h>
 #include <openssl/lhash.h>
 
@@ -199,8 +196,6 @@ CRYPTO_mem_leaks_fp(FILE *fp)
 #endif
 
 
-typedef CRYPTO_MEM_LEAK_CB *PCRYPTO_MEM_LEAK_CB;
-
 void
 CRYPTO_mem_leaks_cb(CRYPTO_MEM_LEAK_CB *cb)
 {