[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
MSVC patch: remove "static" qualifiers
From: |
Michael Goffioul |
Subject: |
MSVC patch: remove "static" qualifiers |
Date: |
Thu, 4 Oct 2007 21:03:29 +0200 |
These 2 functions cannot be static, as they are used outside sysdep.cc
(sighandlers.cc)
Michael.
Index: sysdep.cc
===================================================================
RCS file: /cvs/octave/src/sysdep.cc,v
retrieving revision 1.133
diff -c -r1.133 sysdep.cc
*** sysdep.cc 4 Oct 2007 17:51:58 -0000 1.133
--- sysdep.cc 4 Oct 2007 19:01:17 -0000
***************
*** 143,149 ****
}
}
! static void
w32_set_quiet_shutdown (void)
{
// Let the user close the console window or shutdown without the
--- 143,149 ----
}
}
! void
w32_set_quiet_shutdown (void)
{
// Let the user close the console window or shutdown without the
***************
*** 153,159 ****
SetProcessShutdownParameters (0x280, SHUTDOWN_NORETRY);
}
! static void
MINGW_signal_cleanup (void)
{
w32_set_quiet_shutdown ();
--- 153,159 ----
SetProcessShutdownParameters (0x280, SHUTDOWN_NORETRY);
}
! void
MINGW_signal_cleanup (void)
{
w32_set_quiet_shutdown ();
- MSVC patch: remove "static" qualifiers,
Michael Goffioul <=