+2004-02-18 Ken Raeburn <raeburn@mit.edu>
+
+ * cleanup.c, init.c, init_slave.c, vhangup.c: Use ANSI style
+ function definitions.
+
2003-03-03 Tom Yu <tlyu@mit.edu>
* configure.in: Delete unused ADD_DEF, probably left over from
#include <sys/wait.h>
#endif
-long pty_cleanup (slave, pid, update_utmp)
- char *slave;
- int pid; /* May be zero for unknown.*/
- int update_utmp;
+long pty_cleanup (char *slave,
+ /* May be zero for unknown. */
+ int pid,
+ int update_utmp)
{
#ifdef VHANG_LAST
int retval, fd;
#include "libpty.h"
#include "pty-int.h"
-long pty_init()
+long pty_init(void)
{
initialize_pty_error_table();
return 0;
-long pty_initialize_slave (fd)
- int fd;
+long pty_initialize_slave (int fd)
{
#if defined(POSIX_TERMIOS) && !defined(ultrix)
struct termios new_termio;
#include "libpty.h"
#include "pty-int.h"
-void ptyint_vhangup()
+void ptyint_vhangup(void)
{
#ifdef HAVE_VHANGUP
#ifdef POSIX_SIGNALS