diff options
Diffstat (limited to 'src/lib/libcrypto/tmdiff.h')
-rw-r--r-- | src/lib/libcrypto/tmdiff.h | 22 |
1 files changed, 5 insertions, 17 deletions
diff --git a/src/lib/libcrypto/tmdiff.h b/src/lib/libcrypto/tmdiff.h index af5c41c649..41a8a1e0e0 100644 --- a/src/lib/libcrypto/tmdiff.h +++ b/src/lib/libcrypto/tmdiff.h | |||
@@ -59,16 +59,6 @@ | |||
59 | /* Header for dynamic hash table routines | 59 | /* Header for dynamic hash table routines |
60 | * Author - Eric Young | 60 | * Author - Eric Young |
61 | */ | 61 | */ |
62 | /* ... erm yeah, "dynamic hash tables" you say? | ||
63 | * | ||
64 | * And what would dynamic hash tables have to do with any of this code *now*? | ||
65 | * AFAICS, this code is only referenced by crypto/bn/exp.c which is an unused | ||
66 | * file that I doubt compiles any more. speed.c is the only thing that could | ||
67 | * use this (and it has nothing to do with hash tables), yet it instead has its | ||
68 | * own duplication of all this stuff and looks, if anything, more complete. See | ||
69 | * the corresponding note in apps/speed.c. | ||
70 | * The Bemused - Geoff | ||
71 | */ | ||
72 | 62 | ||
73 | #ifndef HEADER_TMDIFF_H | 63 | #ifndef HEADER_TMDIFF_H |
74 | #define HEADER_TMDIFF_H | 64 | #define HEADER_TMDIFF_H |
@@ -77,13 +67,11 @@ | |||
77 | extern "C" { | 67 | extern "C" { |
78 | #endif | 68 | #endif |
79 | 69 | ||
80 | typedef struct ms_tm MS_TM; | 70 | char *ms_time_new(void ); |
81 | 71 | void ms_time_free(char *a); | |
82 | MS_TM *ms_time_new(void ); | 72 | void ms_time_get(char *a); |
83 | void ms_time_free(MS_TM *a); | 73 | double ms_time_diff(char *start,char *end); |
84 | void ms_time_get(MS_TM *a); | 74 | int ms_time_cmp(char *ap,char *bp); |
85 | double ms_time_diff(MS_TM *start, MS_TM *end); | ||
86 | int ms_time_cmp(const MS_TM *ap, const MS_TM *bp); | ||
87 | 75 | ||
88 | #ifdef __cplusplus | 76 | #ifdef __cplusplus |
89 | } | 77 | } |