Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
13bd35e0
Commit
13bd35e0
authored
Jul 24, 2014
by
Fabio Bas
Browse files
Servatrice: add prototypes for local functions
parent
3102dd60
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/main.cpp
View file @
13bd35e0
...
@@ -37,6 +37,23 @@ RNG_Abstract *rng;
...
@@ -37,6 +37,23 @@ RNG_Abstract *rng;
ServerLogger
*
logger
;
ServerLogger
*
logger
;
QThread
*
loggerThread
;
QThread
*
loggerThread
;
/* Prototypes */
void
testRNG
();
void
testHash
();
#if QT_VERSION < 0x050000
void
myMessageOutput
(
QtMsgType
type
,
const
char
*
msg
);
void
myMessageOutput2
(
QtMsgType
type
,
const
char
*
msg
);
#else
void
myMessageOutput
(
QtMsgType
type
,
const
QMessageLogContext
&
,
const
QString
&
msg
);
void
myMessageOutput2
(
QtMsgType
type
,
const
QMessageLogContext
&
,
const
QString
&
msg
);
#endif
#ifdef Q_OS_UNIX
void
sigSegvHandler
(
int
sig
);
#endif
/* Implementations */
void
testRNG
()
void
testRNG
()
{
{
const
int
n
=
500000
;
const
int
n
=
500000
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment