diff options
Diffstat (limited to 'src/lib/libcrypto/tmdiff.h')
-rw-r--r-- | src/lib/libcrypto/tmdiff.h | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/src/lib/libcrypto/tmdiff.h b/src/lib/libcrypto/tmdiff.h index 41a8a1e0e0..af5c41c649 100644 --- a/src/lib/libcrypto/tmdiff.h +++ b/src/lib/libcrypto/tmdiff.h | |||
@@ -59,6 +59,16 @@ | |||
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 | */ | ||
62 | 72 | ||
63 | #ifndef HEADER_TMDIFF_H | 73 | #ifndef HEADER_TMDIFF_H |
64 | #define HEADER_TMDIFF_H | 74 | #define HEADER_TMDIFF_H |
@@ -67,11 +77,13 @@ | |||
67 | extern "C" { | 77 | extern "C" { |
68 | #endif | 78 | #endif |
69 | 79 | ||
70 | char *ms_time_new(void ); | 80 | typedef struct ms_tm MS_TM; |
71 | void ms_time_free(char *a); | 81 | |
72 | void ms_time_get(char *a); | 82 | MS_TM *ms_time_new(void ); |
73 | double ms_time_diff(char *start,char *end); | 83 | void ms_time_free(MS_TM *a); |
74 | int ms_time_cmp(char *ap,char *bp); | 84 | void ms_time_get(MS_TM *a); |
85 | double ms_time_diff(MS_TM *start, MS_TM *end); | ||
86 | int ms_time_cmp(const MS_TM *ap, const MS_TM *bp); | ||
75 | 87 | ||
76 | #ifdef __cplusplus | 88 | #ifdef __cplusplus |
77 | } | 89 | } |