* s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
|
||||
|
||||
* s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl.
|
||||
|
||||
* process.c (keyboard_bit_set): Define only if SIGIO.
|
||||
(send_process_trap): Mark it with NO_RETURN if it doesn't return.
|
||||
(send_process): Repair possible setjmp clobbering.
|
||||
|
||||
@@ -44,7 +44,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#define PTY_TTY_NAME_SPRINTF \
|
||||
{ \
|
||||
char *ptsname (), *ptyname; \
|
||||
char *ptsname (int), *ptyname; \
|
||||
\
|
||||
sigblock (sigmask (SIGCLD)); \
|
||||
if (grantpt (fd) == -1) \
|
||||
@@ -60,4 +60,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#define GC_SETJMP_WORKS 1
|
||||
#define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
|
||||
within, it should be caught after sigrelse(2). */
|
||||
#define PTY_TTY_NAME_SPRINTF \
|
||||
{ \
|
||||
char *ptsname(), *ptyname; \
|
||||
char *ptsname (int), *ptyname; \
|
||||
\
|
||||
sigblock(sigmask(SIGCLD)); \
|
||||
if (grantpt(fd) == -1) \
|
||||
|
||||
Reference in New Issue
Block a user