Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
52bc3abb
Commit
52bc3abb
authored
Apr 22, 2019
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include/msvcrt: Add noreturn attributes.
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ca6478b2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
21 additions
and
11 deletions
+21
-11
crtdefs.h
include/msvcrt/crtdefs.h
+10
-0
eh.h
include/msvcrt/eh.h
+2
-2
process.h
include/msvcrt/process.h
+5
-5
stdlib.h
include/msvcrt/stdlib.h
+4
-4
No files found.
include/msvcrt/crtdefs.h
View file @
52bc3abb
...
...
@@ -117,6 +117,16 @@
# endif
#endif
#ifndef DECLSPEC_NORETURN
# if defined(_MSC_VER) && (_MSC_VER >= 1200) && !defined(MIDL_PASS)
# define DECLSPEC_NORETURN __declspec(noreturn)
# elif defined(__GNUC__)
# define DECLSPEC_NORETURN __attribute__((noreturn))
# else
# define DECLSPEC_NORETURN
# endif
#endif
#ifndef DECLSPEC_ALIGN
# if defined(_MSC_VER) && (_MSC_VER >= 1300) && !defined(MIDL_PASS)
# define DECLSPEC_ALIGN(x) __declspec(align(x))
...
...
include/msvcrt/eh.h
View file @
52bc3abb
...
...
@@ -40,8 +40,8 @@ terminate_function __cdecl set_terminate(terminate_function func);
unexpected_function
__cdecl
set_unexpected
(
unexpected_function
func
);
_se_translator_function
__cdecl
set_se_translator
(
_se_translator_function
func
);
void
__cdecl
terminate
(
void
);
void
__cdecl
unexpected
(
void
);
void
__cdecl
terminate
(
void
)
DECLSPEC_NORETURN
;
void
__cdecl
unexpected
(
void
)
DECLSPEC_NORETURN
;
#include <poppack.h>
...
...
include/msvcrt/process.h
View file @
52bc3abb
...
...
@@ -30,8 +30,8 @@ typedef unsigned int (__stdcall *_beginthreadex_start_routine_t)(void *);
uintptr_t
__cdecl
_beginthread
(
_beginthread_start_routine_t
,
unsigned
int
,
void
*
);
uintptr_t
__cdecl
_beginthreadex
(
void
*
,
unsigned
int
,
_beginthreadex_start_routine_t
,
void
*
,
unsigned
int
,
unsigned
int
*
);
intptr_t
__cdecl
_cwait
(
int
*
,
intptr_t
,
int
);
void
__cdecl
_endthread
(
void
);
void
__cdecl
_endthreadex
(
unsigned
int
);
void
__cdecl
_endthread
(
void
)
DECLSPEC_NORETURN
;
void
__cdecl
_endthreadex
(
unsigned
int
)
DECLSPEC_NORETURN
;
intptr_t
WINAPIV
_execl
(
const
char
*
,
const
char
*
,...);
intptr_t
WINAPIV
_execle
(
const
char
*
,
const
char
*
,...);
intptr_t
WINAPIV
_execlp
(
const
char
*
,
const
char
*
,...);
...
...
@@ -52,9 +52,9 @@ intptr_t __cdecl _spawnvpe(int,const char*,const char* const *,const char* cons
void
__cdecl
_c_exit
(
void
);
void
__cdecl
_cexit
(
void
);
void
__cdecl
_exit
(
int
);
void
__cdecl
abort
(
void
);
void
__cdecl
exit
(
int
);
void
__cdecl
_exit
(
int
)
DECLSPEC_NORETURN
;
void
__cdecl
abort
(
void
)
DECLSPEC_NORETURN
;
void
__cdecl
exit
(
int
)
DECLSPEC_NORETURN
;
int
__cdecl
system
(
const
char
*
);
#ifndef _WPROCESS_DEFINED
...
...
include/msvcrt/stdlib.h
View file @
52bc3abb
...
...
@@ -184,9 +184,9 @@ errno_t __cdecl _ui64toa_s(unsigned __int64,char*,size_t,int);
char
*
__cdecl
_ultoa
(
__msvcrt_ulong
,
char
*
,
int
);
errno_t
__cdecl
_ultoa_s
(
__msvcrt_ulong
,
char
*
,
size_t
,
int
);
void
__cdecl
_Exit
(
int
);
void
__cdecl
_exit
(
int
);
void
__cdecl
abort
(
void
);
void
__cdecl
_Exit
(
int
)
DECLSPEC_NORETURN
;
void
__cdecl
_exit
(
int
)
DECLSPEC_NORETURN
;
void
__cdecl
abort
(
void
)
DECLSPEC_NORETURN
;
int
__cdecl
abs
(
int
);
int
__cdecl
atexit
(
void
(
__cdecl
*
)(
void
));
double
__cdecl
atof
(
const
char
*
);
...
...
@@ -200,7 +200,7 @@ div_t __cdecl div(int,int);
ldiv_t
__cdecl
ldiv
(
__msvcrt_long
,
__msvcrt_long
);
#endif
lldiv_t
__cdecl
lldiv
(
__int64
,
__int64
);
void
__cdecl
exit
(
int
);
void
__cdecl
exit
(
int
)
DECLSPEC_NORETURN
;
void
__cdecl
free
(
void
*
);
char
*
__cdecl
getenv
(
const
char
*
);
__msvcrt_long
__cdecl
labs
(
__msvcrt_long
);
...
...
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