Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
10db4d03
Commit
10db4d03
authored
Jul 15, 2005
by
pem@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made .c files compile with a C compiler.
parent
da6533e8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ndb/src/common/portlib/NdbMutex.c
ndb/src/common/portlib/NdbMutex.c
+2
-2
ndb/src/common/portlib/NdbThread.c
ndb/src/common/portlib/NdbThread.c
+1
-1
No files found.
ndb/src/common/portlib/NdbMutex.c
View file @
10db4d03
...
...
@@ -23,9 +23,9 @@
NdbMutex
*
NdbMutex_Create
(
void
)
{
DBUG_ENTER
(
"NdbMutex_Create"
);
NdbMutex
*
pNdbMutex
;
int
result
;
DBUG_ENTER
(
"NdbMutex_Create"
);
pNdbMutex
=
(
NdbMutex
*
)
NdbMem_Allocate
(
sizeof
(
NdbMutex
));
DBUG_PRINT
(
"info"
,(
"NdbMem_Allocate 0x%lx"
,
pNdbMutex
));
...
...
@@ -42,8 +42,8 @@ NdbMutex* NdbMutex_Create(void)
int
NdbMutex_Destroy
(
NdbMutex
*
p_mutex
)
{
DBUG_ENTER
(
"NdbMutex_Destroy"
);
int
result
;
DBUG_ENTER
(
"NdbMutex_Destroy"
);
if
(
p_mutex
==
NULL
)
DBUG_RETURN
(
-
1
);
...
...
ndb/src/common/portlib/NdbThread.c
View file @
10db4d03
...
...
@@ -71,10 +71,10 @@ struct NdbThread* NdbThread_Create(NDB_THREAD_FUNC *p_thread_func,
const
char
*
p_thread_name
,
NDB_THREAD_PRIO
thread_prio
)
{
DBUG_ENTER
(
"NdbThread_Create"
);
struct
NdbThread
*
tmpThread
;
int
result
;
pthread_attr_t
thread_attr
;
DBUG_ENTER
(
"NdbThread_Create"
);
(
void
)
thread_prio
;
/* remove warning for unused parameter */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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