diff options
author | 2001-06-26 06:32:46 +0000 | |
---|---|---|
committer | 2001-06-26 06:32:46 +0000 | |
commit | 08d1172d67ef632962039f0f9b05c55ed93331bf (patch) | |
tree | c18845a72fb322f4f7a85a8fcaea0f32044feb71 /usr.bin/ssh/sshpty.h | |
parent | Appease gcc by not using void pointers in arithmetic operations; art@ ok (diff) | |
download | wireguard-openbsd-08d1172d67ef632962039f0f9b05c55ed93331bf.tar.xz wireguard-openbsd-08d1172d67ef632962039f0f9b05c55ed93331bf.zip |
prototype pedant. not very creative...
- () -> (void)
- no variable names
Diffstat (limited to 'usr.bin/ssh/sshpty.h')
-rw-r--r-- | usr.bin/ssh/sshpty.h | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/usr.bin/ssh/sshpty.h b/usr.bin/ssh/sshpty.h index d7aac0f5559..d962924f8ad 100644 --- a/usr.bin/ssh/sshpty.h +++ b/usr.bin/ssh/sshpty.h @@ -12,7 +12,7 @@ * called by a name other than "ssh" or "Secure Shell". */ -/* RCSID("$OpenBSD: sshpty.h,v 1.1 2001/03/04 01:46:30 djm Exp $"); */ +/* RCSID("$OpenBSD: sshpty.h,v 1.2 2001/06/26 06:33:04 itojun Exp $"); */ #ifndef SSHPTY_H #define SSHPTY_H @@ -23,25 +23,23 @@ * descriptors for the pty and tty sides and the name of the tty side are * returned (the buffer must be able to hold at least 64 characters). */ -int pty_allocate(int *ptyfd, int *ttyfd, char *ttyname, int ttynamelen); +int pty_allocate(int *, int *, char *, int); /* * Releases the tty. Its ownership is returned to root, and permissions to * 0666. */ -void pty_release(const char *ttyname); +void pty_release(const char *); /* * Makes the tty the processes controlling tty and sets it to sane modes. * This may need to reopen the tty to get rid of possible eavesdroppers. */ -void pty_make_controlling_tty(int *ttyfd, const char *ttyname); +void pty_make_controlling_tty(int *, const char *); /* Changes the window size associated with the pty. */ -void -pty_change_window_size(int ptyfd, int row, int col, - int xpixel, int ypixel); +void pty_change_window_size(int, int, int, int, int); -void pty_setowner(struct passwd *pw, const char *ttyname); +void pty_setowner(struct passwd *, const char *); #endif /* SSHPTY_H */ |