Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary parameters #708

Merged
merged 1 commit into from
Nov 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1131,7 +1131,7 @@ void rqsort(void *base, size_t nmemb, size_t size, cmp_f cmp, void *opaque)

#ifdef _WIN32
// From: https://stackoverflow.com/a/26085827
static int gettimeofday_msvc(struct timeval *tp, struct timezone *tzp)
static int gettimeofday_msvc(struct timeval *tp)
{
static const uint64_t EPOCH = ((uint64_t)116444736000000000ULL);

Expand Down Expand Up @@ -1185,7 +1185,7 @@ uint64_t js__hrtime_ns(void) {
int64_t js__gettimeofday_us(void) {
struct timeval tv;
#ifdef _WIN32
gettimeofday_msvc(&tv, NULL);
gettimeofday_msvc(&tv);
#else
gettimeofday(&tv, NULL);
#endif
Expand Down
Loading