1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00

Merge pull request #2184 from neheb/patch-2

Remove inline from functions
This commit is contained in:
Jens Steube 2019-11-05 12:21:18 +01:00 committed by GitHub
commit b4c7a8a914
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,12 +9,12 @@
#if defined (_WIN) #if defined (_WIN)
inline void hc_timer_set (hc_timer_t *a) void hc_timer_set (hc_timer_t *a)
{ {
QueryPerformanceCounter (a); QueryPerformanceCounter (a);
} }
inline double hc_timer_get (hc_timer_t a) double hc_timer_get (hc_timer_t a)
{ {
hc_timer_t hr_freq; hc_timer_t hr_freq;
@ -31,7 +31,7 @@ inline double hc_timer_get (hc_timer_t a)
#else #else
inline void hc_timer_set (hc_timer_t* a) void hc_timer_set (hc_timer_t* a)
{ {
#if defined(__APPLE__) && defined(MISSING_CLOCK_GETTIME) #if defined(__APPLE__) && defined(MISSING_CLOCK_GETTIME)
gettimeofday (a, NULL); gettimeofday (a, NULL);
@ -40,7 +40,7 @@ inline void hc_timer_set (hc_timer_t* a)
#endif #endif
} }
inline double hc_timer_get (hc_timer_t a) double hc_timer_get (hc_timer_t a)
{ {
hc_timer_t hr_tmp; hc_timer_t hr_tmp;