Skip to content

Commit

Permalink
Fix declaration order in util/system.h
Browse files Browse the repository at this point in the history
Summary: This was fubared in D3953

Test Plan:
  make check

Reviewers: #bitcoin_abc, majcosta

Reviewed By: majcosta

Differential Revision: https://reviews.bitcoinabc.org/D5841
  • Loading branch information
deadalnix authored and ftrader committed May 25, 2020
1 parent 5fe1749 commit ea69809
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions src/util/system.h
Expand Up @@ -362,6 +362,15 @@ template <typename Callable> void TraceThread(const char *name, Callable func) {

std::string CopyrightHolders(const std::string &strPrefix);

/**
* On platforms that support it, tell the kernel the calling thread is
* CPU-intensive and non-interactive. See SCHED_BATCH in sched(7) for details.
*
* @return The return value of sched_setschedule(), or 1 on systems without
* sched_setchedule().
*/
int ScheduleBatchPriority();

namespace util {

//! Simplification of std insertion
Expand Down Expand Up @@ -390,13 +399,4 @@ class WinCmdLineArgs {

} // namespace util

/**
* On platforms that support it, tell the kernel the calling thread is
* CPU-intensive and non-interactive. See SCHED_BATCH in sched(7) for details.
*
* @return The return value of sched_setschedule(), or 1 on systems without
* sched_setchedule().
*/
int ScheduleBatchPriority();

#endif // BITCOIN_UTIL_SYSTEM_H

0 comments on commit ea69809

Please sign in to comment.