From: Paul Eggert Date: Sat, 16 Apr 2011 22:06:00 +0000 (-0700) Subject: * s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~268^2~3 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5c1ccb01541c438e596ce2d819d703d67bab25c0;p=emacs.git * s/sol2-6.h, s/unixware.h (PTY_TTY_NAME_SPRINTF): Protoize decl. --- diff --git a/src/ChangeLog b/src/ChangeLog index e44331dcd4d..61509caf744 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-16 Paul Eggert + * 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. diff --git a/src/s/sol2-6.h b/src/s/sol2-6.h index 4c6fd3e2f9b..3d9bd6ddafc 100644 --- a/src/s/sol2-6.h +++ b/src/s/sol2-6.h @@ -44,7 +44,7 @@ along with GNU Emacs. If not, see . */ #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 . */ #define GC_SETJMP_WORKS 1 #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS - diff --git a/src/s/unixware.h b/src/s/unixware.h index 407282ff78c..8fe28625dd4 100644 --- a/src/s/unixware.h +++ b/src/s/unixware.h @@ -35,7 +35,7 @@ along with GNU Emacs. If not, see . */ 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) \