Mercurial > octave-nkf
changeset 8837:c37081b9d5c9
add missing volatile declaration in quit.h
author | Jaroslav Hajek <highegg@gmail.com> |
---|---|
date | Mon, 23 Feb 2009 08:46:19 +0100 |
parents | d79edebd8f45 |
children | dea5bd01e6d7 |
files | libcruft/ChangeLog libcruft/misc/quit.h |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libcruft/ChangeLog Sun Feb 22 13:31:04 2009 -0500 +++ b/libcruft/ChangeLog Mon Feb 23 08:46:19 2009 +0100 @@ -1,3 +1,7 @@ +2009-02-23 Jaroslav Hajek <highegg@gmail.com> + + * misc/quit.h (octave_signal_caught): Declare as volatile. + 2009-02-06 Jaroslav Hajek <highegg@gmail.com> * blas/ssymm.f, blas/dsymm.f, blas/chemm.f, blas/zhemm.f: New sources.
--- a/libcruft/misc/quit.h Sun Feb 22 13:31:04 2009 -0500 +++ b/libcruft/misc/quit.h Mon Feb 23 08:46:19 2009 +0100 @@ -102,7 +102,7 @@ CRUFT_API extern sig_atomic_t octave_exception_state; -CRUFT_API extern sig_atomic_t octave_signal_caught; +CRUFT_API extern volatile sig_atomic_t octave_signal_caught; CRUFT_API extern void octave_handle_signal (void);