X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/9850eff524bd0747a9561f3b4c90dfc3749f4ecb..b82da769e5bd9aab6ee2102d4c98ed7e1c6541bb:/src/blockinput.h diff --git a/src/blockinput.h b/src/blockinput.h index fb338d9df4..dc02919cf4 100644 --- a/src/blockinput.h +++ b/src/blockinput.h @@ -1,6 +1,5 @@ /* blockinput.h - interface to blocking complicated interrupt-driven input. - Copyright (C) 1989, 1993, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + Copyright (C) 1989, 1993, 2001-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -59,15 +58,6 @@ extern int interrupt_input_pending; extern int pending_atimers; -#if defined HAVE_NS && !defined COCOA_EXPERIMENTAL_CTRL_G -/* NS does not use interrupt-driven input processing (yet), so this is - unneeded and moreover was causing problems. */ -#define BLOCK_INPUT -#define UNBLOCK_INPUT -#define TOTALLY_UNBLOCK_INPUT -#define UNBLOCK_INPUT_TO(LEVEL) - -#else /* Begin critical section. */ #define BLOCK_INPUT (interrupt_input_blocked++) @@ -125,18 +115,13 @@ extern int pending_atimers; } \ while (0) -#endif /* defined HAVE_NS && !defined COCOA_EXPERIMENTAL_CTRL_G */ - #define UNBLOCK_INPUT_RESIGNAL UNBLOCK_INPUT /* In critical section ? */ #define INPUT_BLOCKED_P (interrupt_input_blocked > 0) /* Defined in keyboard.c */ -/* Don't use a prototype here; it causes trouble in some files. */ -extern void reinvoke_input_signal (); +extern void reinvoke_input_signal (void); #endif /* EMACS_BLOCKINPUT_H */ -/* arch-tag: 51a9ec86-945a-4966-8f04-2d1341250e03 - (do not change this comment) */