changeset 2282:68f116fb679a

[xemacs-hg @ 2004-09-20 04:07:40 by james] Fix the Windows build in the aftermath of the noreturn patch.
author james
date Mon, 20 Sep 2004 04:07:46 +0000
parents 56fcff52312c
children f512fee90bfb
files src/ChangeLog src/s/windowsnt.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Sep 19 21:51:17 2004 +0000
+++ b/src/ChangeLog	Mon Sep 20 04:07:46 2004 +0000
@@ -1,3 +1,8 @@
+2004-09-19  Jerry James  <james@xemacs.org>
+
+	* s/windowsnt.h (DECLARE_DOESNT_RETURN_TYPE): Remove extern so
+	that static funcions can be declared.
+
 2004-09-14  Jerry James  <james@xemacs.org>
 
 	* mule-canna.c (CANNA_NEW_WCHAR_AWARE): Define to use new wchar
--- a/src/s/windowsnt.h	Sun Sep 19 21:51:17 2004 +0000
+++ b/src/s/windowsnt.h	Mon Sep 20 04:07:46 2004 +0000
@@ -243,7 +243,7 @@
 #if (_MSC_VER >= 1200)
 #define DOESNT_RETURN_TYPE(rettype) __declspec(noreturn) rettype
 #define DECLARE_DOESNT_RETURN_TYPE(rettype,decl) \
-  __declspec(noreturn) extern rettype XCDECL decl
+  __declspec(noreturn) rettype XCDECL decl
 #endif /* MSVC 6.0 */
 
 /* MSVC warnings no-no crap.  When adding one to this section,