Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
618a4e91
Commit
618a4e91
authored
Feb 22, 2002
by
Peter Hunnisett
Committed by
Alexandre Julliard
Feb 22, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
atexit doesn't take a _onexit_t parameter.
parent
d2a8f01a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
exit.c
dlls/msvcrt/exit.c
+3
-2
stdlib.h
include/msvcrt/stdlib.h
+1
-1
No files found.
dlls/msvcrt/exit.c
View file @
618a4e91
...
@@ -191,12 +191,13 @@ void MSVCRT_exit(int exitcode)
...
@@ -191,12 +191,13 @@ void MSVCRT_exit(int exitcode)
/*********************************************************************
/*********************************************************************
* atexit (MSVCRT.@)
* atexit (MSVCRT.@)
*/
*/
int
MSVCRT_atexit
(
_onexit_t
func
)
int
MSVCRT_atexit
(
void
(
*
func
)(
void
)
)
{
{
TRACE
(
"(%p)
\n
"
,
func
);
TRACE
(
"(%p)
\n
"
,
func
);
return
_onexit
(
func
)
==
func
?
0
:
-
1
;
return
_onexit
(
(
_onexit_t
)
func
)
==
(
_onexit_t
)
func
?
0
:
-
1
;
}
}
/*********************************************************************
/*********************************************************************
* _purecall (MSVCRT.@)
* _purecall (MSVCRT.@)
*/
*/
...
...
include/msvcrt/stdlib.h
View file @
618a4e91
...
@@ -138,7 +138,7 @@ char* _ultoa(unsigned long,char*,int);
...
@@ -138,7 +138,7 @@ char* _ultoa(unsigned long,char*,int);
void
MSVCRT
(
_exit
)(
int
);
void
MSVCRT
(
_exit
)(
int
);
void
MSVCRT
(
abort
)();
void
MSVCRT
(
abort
)();
int
MSVCRT
(
abs
)(
int
);
int
MSVCRT
(
abs
)(
int
);
int
MSVCRT
(
atexit
)(
_onexit_t
);
int
MSVCRT
(
atexit
)(
void
(
*
)(
void
)
);
double
MSVCRT
(
atof
)(
const
char
*
);
double
MSVCRT
(
atof
)(
const
char
*
);
int
MSVCRT
(
atoi
)(
const
char
*
);
int
MSVCRT
(
atoi
)(
const
char
*
);
long
MSVCRT
(
atol
)(
const
char
*
);
long
MSVCRT
(
atol
)(
const
char
*
);
...
...
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