diff options
| author | Paul Eggert | 2011-04-16 16:11:35 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-16 16:11:35 -0700 |
| commit | fd35b6f96777be3305879a9ca60ab5befb254042 (patch) | |
| tree | db72c649acdc7f53d9672fba88b6a08b3601cdda /src/s | |
| parent | c4354cb4f4a3982331180439120ca72734d49cc5 (diff) | |
| parent | 399c71d323b8beef139437311c78440d0033c652 (diff) | |
| download | emacs-fd35b6f96777be3305879a9ca60ab5befb254042.tar.gz emacs-fd35b6f96777be3305879a9ca60ab5befb254042.zip | |
Static checks with GCC 4.6.0 and non-default toolkits.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/sol2-6.h | 3 | ||||
| -rw-r--r-- | src/s/unixware.h | 2 | ||||
| -rw-r--r-- | src/s/usg5-4-common.h | 6 |
3 files changed, 5 insertions, 6 deletions
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 <http://www.gnu.org/licenses/>. */ | |||
| 44 | 44 | ||
| 45 | #define PTY_TTY_NAME_SPRINTF \ | 45 | #define PTY_TTY_NAME_SPRINTF \ |
| 46 | { \ | 46 | { \ |
| 47 | char *ptsname (), *ptyname; \ | 47 | char *ptsname (int), *ptyname; \ |
| 48 | \ | 48 | \ |
| 49 | sigblock (sigmask (SIGCLD)); \ | 49 | sigblock (sigmask (SIGCLD)); \ |
| 50 | if (grantpt (fd) == -1) \ | 50 | if (grantpt (fd) == -1) \ |
| @@ -60,4 +60,3 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 60 | 60 | ||
| 61 | #define GC_SETJMP_WORKS 1 | 61 | #define GC_SETJMP_WORKS 1 |
| 62 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS | 62 | #define GC_MARK_STACK GC_MAKE_GCPROS_NOOPS |
| 63 | |||
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 <http://www.gnu.org/licenses/>. */ | |||
| 35 | within, it should be caught after sigrelse(2). */ | 35 | within, it should be caught after sigrelse(2). */ |
| 36 | #define PTY_TTY_NAME_SPRINTF \ | 36 | #define PTY_TTY_NAME_SPRINTF \ |
| 37 | { \ | 37 | { \ |
| 38 | char *ptsname(), *ptyname; \ | 38 | char *ptsname (int), *ptyname; \ |
| 39 | \ | 39 | \ |
| 40 | sigblock(sigmask(SIGCLD)); \ | 40 | sigblock(sigmask(SIGCLD)); \ |
| 41 | if (grantpt(fd) == -1) \ | 41 | if (grantpt(fd) == -1) \ |
diff --git a/src/s/usg5-4-common.h b/src/s/usg5-4-common.h index 236f71e3007..e6d992d8f9c 100644 --- a/src/s/usg5-4-common.h +++ b/src/s/usg5-4-common.h | |||
| @@ -88,11 +88,11 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 88 | /* Push various streams modules onto a PTY channel. */ | 88 | /* Push various streams modules onto a PTY channel. */ |
| 89 | #define SETUP_SLAVE_PTY \ | 89 | #define SETUP_SLAVE_PTY \ |
| 90 | if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ | 90 | if (ioctl (xforkin, I_PUSH, "ptem") == -1) \ |
| 91 | fatal ("ioctl I_PUSH ptem", errno); \ | 91 | fatal ("ioctl I_PUSH ptem"); \ |
| 92 | if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ | 92 | if (ioctl (xforkin, I_PUSH, "ldterm") == -1) \ |
| 93 | fatal ("ioctl I_PUSH ldterm", errno); \ | 93 | fatal ("ioctl I_PUSH ldterm"); \ |
| 94 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ | 94 | if (ioctl (xforkin, I_PUSH, "ttcompat") == -1) \ |
| 95 | fatal ("ioctl I_PUSH ttcompat", errno); | 95 | fatal ("ioctl I_PUSH ttcompat"); |
| 96 | 96 | ||
| 97 | /* This definition was suggested for next release. So give it a try. */ | 97 | /* This definition was suggested for next release. So give it a try. */ |
| 98 | #define HAVE_SOCKETS | 98 | #define HAVE_SOCKETS |