projects
/
xboard.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix two 64-bit warnings
[xboard.git]
/
childio.c
diff --git
a/childio.c
b/childio.c
index
53edee7
..
0cb4dc1
100644
(file)
--- a/
childio.c
+++ b/
childio.c
@@
-72,8
+72,8
@@
#if !USE_PTYS
/* This code is for systems where pipes work properly */
#if !USE_PTYS
/* This code is for systems where pipes work properly */
-void
SetUpChildIO(to_prog, from_prog)
- int to_prog[2], from_prog[2];
+void
+SetUpChildIO (int to_prog[2], int from_prog[2])
{
signal(SIGPIPE, SIG_IGN);
pipe(to_prog);
{
signal(SIGPIPE, SIG_IGN);
pipe(to_prog);
@@
-99,8
+99,8
@@
void SetUpChildIO(to_prog, from_prog)
int PseudoTTY P((char pty_name[]));
int PseudoTTY P((char pty_name[]));
-int
SetUpChildIO(to_prog, from_prog)
- int to_prog[2], from_prog[2];
+int
+SetUpChildIO (int to_prog[2], int from_prog[2])
{
char pty_name[MSG_SIZ];
{
char pty_name[MSG_SIZ];
@@
-127,8
+127,8
@@
int SetUpChildIO(to_prog, from_prog)
#if HAVE_GRANTPT
/* This code is for SVR4 */
#if HAVE_GRANTPT
/* This code is for SVR4 */
-int
PseudoTTY(pty_name)
- char pty_name[];
+int
+PseudoTTY (char pty_name[])
{
extern char *ptsname();
char *ptss;
{
extern char *ptsname();
char *ptss;
@@
-147,8
+147,8
@@
int PseudoTTY(pty_name)
#if HAVE__GETPTY
/* This code is for IRIX */
#if HAVE__GETPTY
/* This code is for IRIX */
-int
PseudoTTY(pty_name)
- char pty_name[];
+int
+PseudoTTY (char pty_name[])
{
int fd;
char *ptyn;
{
int fd;
char *ptyn;
@@
-163,8
+163,8
@@
int PseudoTTY(pty_name)
#if HAVE_LIBSEQ
/* This code is for Sequent DYNIX/ptx. Untested. --tpm */
#if HAVE_LIBSEQ
/* This code is for Sequent DYNIX/ptx. Untested. --tpm */
-int
PseudoTTY(pty_name)
- char pty_name[];
+int
+PseudoTTY (char pty_name[])
{
int fd;
char *slave, *master;
{
int fd;
char *slave, *master;
@@
-186,8
+186,8
@@
int PseudoTTY(pty_name)
#define LAST_PTY_LETTER 'z'
#endif
#define LAST_PTY_LETTER 'z'
#endif
-int
PseudoTTY(pty_name)
- char pty_name[];
+int
+PseudoTTY (char pty_name[])
{
struct stat stb;
register c, i;
{
struct stat stb;
register c, i;