summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-29 10:06:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2024-04-29 10:06:09 (GMT)
commitec55073555d4635a032d4c661a00a7dfe39d5629 (patch)
tree9ba4cb9aeece0ccdebb5239647599d6ba7d46e1d /win
parent44f6a3be3eef72da6da477bb82fe7fb47e1a07e7 (diff)
downloadtcl-ec55073555d4635a032d4c661a00a7dfe39d5629.zip
tcl-ec55073555d4635a032d4c661a00a7dfe39d5629.tar.gz
tcl-ec55073555d4635a032d4c661a00a7dfe39d5629.tar.bz2
TCL_NORETURN1 is empty for extensions, just not for Tcl and Tk builds. Why? Backport changing this from 8.7/9.0
Diffstat (limited to 'win')
-rw-r--r--win/tclWinError.c3
-rw-r--r--win/tclWinFile.c3
2 files changed, 1 insertions, 5 deletions
diff --git a/win/tclWinError.c b/win/tclWinError.c
index 6d7e3e1..690859f 100644
--- a/win/tclWinError.c
+++ b/win/tclWinError.c
@@ -382,9 +382,6 @@ TclWinConvertError(
*/
MODULE_SCOPE TCL_NORETURN void
-tclWinDebugPanic(const char *format, ...);
-
-TCL_NORETURN void
tclWinDebugPanic(
const char *format, ...)
{
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 9f4e857..d0ff73e 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -177,7 +177,6 @@ static int WinLink(const WCHAR *LinkSource,
const WCHAR *LinkTarget, int linkAction);
static int WinSymLinkDirectory(const WCHAR *LinkDirectory,
const WCHAR *LinkTarget);
-MODULE_SCOPE TCL_NORETURN void tclWinDebugPanic(const char *format, ...);
/*
*--------------------------------------------------------------------
@@ -812,7 +811,7 @@ NativeWriteReparse(
*----------------------------------------------------------------------
*/
-TCL_NORETURN void
+MODULE_SCOPE TCL_NORETURN void
tclWinDebugPanic(
const char *format, ...)
{