Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
azure-cloud-mining-script
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Recolic
azure-cloud-mining-script
Commits
f9bbdd50
There was an error fetching the commit references. Please try again later.
Commit
f9bbdd50
authored
7 years ago
by
fireice-uk
Browse files
Options
Downloads
Patches
Plain Diff
put global into proper place
parent
2b9bcc2d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
xmrstak/backend/cpu/crypto/cryptonight_common.cpp
+2
-1
2 additions, 1 deletion
xmrstak/backend/cpu/crypto/cryptonight_common.cpp
with
2 additions
and
1 deletion
xmrstak/backend/cpu/crypto/cryptonight_common.cpp
+
2
−
1
View file @
f9bbdd50
...
...
@@ -71,6 +71,8 @@ void do_skein_hash(const void* input, size_t len, char* output) {
void
(
*
const
extra_hashes
[
4
])(
const
void
*
,
size_t
,
char
*
)
=
{
do_blake_hash
,
do_groestl_hash
,
do_jh_hash
,
do_skein_hash
};
#ifdef _WIN32
BOOL
bRebootDesirable
=
FALSE
;
//If VirtualAlloc fails, suggest a reboot
BOOL
AddPrivilege
(
TCHAR
*
pszPrivilege
)
{
HANDLE
hToken
;
...
...
@@ -164,7 +166,6 @@ BOOL AddLargePageRights()
}
#endif
BOOL
bRebootDesirable
=
FALSE
;
//If VirtualAlloc fails, suggest a reboot
size_t
cryptonight_init
(
size_t
use_fast_mem
,
size_t
use_mlock
,
alloc_msg
*
msg
)
{
#ifdef _WIN32
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment