Skip to content

Commit

Permalink
fix warnings in profiling test
Browse files Browse the repository at this point in the history
  • Loading branch information
gardner48 committed May 18, 2024
1 parent dc9d1a6 commit 65ff531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit_tests/profiling/test_profiling.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include "sundials/sundials_profiler.h"
#include "sundials/sundials_types.h"

int sleep(SUNProfiler prof, int sec, double* chrono)
static int sleep(SUNProfiler prof, int sec, double* chrono)
{
auto begin = std::chrono::steady_clock::now();

Expand All @@ -43,7 +43,7 @@ int sleep(SUNProfiler prof, int sec, double* chrono)
return 0;
}

int print_timings(SUNProfiler prof)
static int print_timings(SUNProfiler prof)
{
// Output timing in default (table) format
int flag = SUNProfiler_Print(prof, stdout);
Expand Down

0 comments on commit 65ff531

Please sign in to comment.