summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-12-28 17:01:59 +0100
committerBram Moolenaar <Bram@vim.org>2018-12-28 17:01:59 +0100
commitb7a7e039b4362ac9e35b37896e7a736bd4c35e2c (patch)
treea17c1fad9e3eaaae0d5de4ec50c62c370892b2a6 /src/globals.h
parentc8c8849267503b2d2d6d821047ee8619c7821728 (diff)
patch 8.1.0649: setjmp() variables defined globally are used in one filev8.1.0649
Problem: setjmp() variables defined globally are used in one file. Solution: Move the declarations to that file.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/src/globals.h b/src/globals.h
index eaced2a08f..d60968b829 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -798,21 +798,6 @@ EXTERN int vr_lines_changed INIT(= 0); /* #Lines changed by "gR" so far */
EXTERN JMP_BUF x_jump_env;
#endif
-#if defined(HAVE_SETJMP_H)
-/*
- * Stuff for setjmp() and longjmp().
- * Used to protect areas where we could crash.
- */
-EXTERN JMP_BUF lc_jump_env; /* argument to SETJMP() */
-# ifdef SIGHASARG
-/* volatile because it is used in signal handlers. */
-EXTERN volatile sig_atomic_t lc_signal; /* caught signal number, 0 when no was signal
- caught; used for mch_libcall() */
-# endif
-/* volatile because it is used in signal handler deathtrap(). */
-EXTERN volatile sig_atomic_t lc_active INIT(= FALSE); /* TRUE when lc_jump_env is valid. */
-#endif
-
#if defined(FEAT_MBYTE) || defined(FEAT_POSTSCRIPT)
/*
* These flags are set based upon 'fileencoding'.