diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-22 15:24:11 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2015-09-22 15:24:11 (GMT) |
| commit | 9b08e4775f43cbdf1db67dbca17819c3ebdf1d37 (patch) | |
| tree | f3f50ec898e4a58a8832047e598219068a9b304f /win/tclWinFile.c | |
| parent | e0143819032635ae191c10a37c61837e359db146 (diff) | |
| download | tcl-9b08e4775f43cbdf1db67dbca17819c3ebdf1d37.zip tcl-9b08e4775f43cbdf1db67dbca17819c3ebdf1d37.tar.gz tcl-9b08e4775f43cbdf1db67dbca17819c3ebdf1d37.tar.bz2 | |
Decorate Tcl_Panic and Tcl_PanicVA with the noreturn option, alowing further optimizations by the C-compiler.
Diffstat (limited to 'win/tclWinFile.c')
| -rwxr-xr-x | win/tclWinFile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 02927ad..f6e3a4b 100755 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -172,7 +172,7 @@ static int WinLink(const TCHAR *LinkSource, const TCHAR *LinkTarget, int linkAction); static int WinSymLinkDirectory(const TCHAR *LinkDirectory, const TCHAR *LinkTarget); -MODULE_SCOPE void tclWinDebugPanic(const char *format, ...); +MODULE_SCOPE TCL_NORETURN void tclWinDebugPanic(const char *format, ...); /* *-------------------------------------------------------------------- @@ -789,7 +789,7 @@ NativeWriteReparse( *---------------------------------------------------------------------- */ -void +TCL_NORETURN void tclWinDebugPanic( const char *format, ...) { |
