diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:02:36 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-07-04 04:02:36 +0000 |
commit | 16ae3d0dba5f81e5602798b915105284033dea75 (patch) | |
tree | ce0c2bf0d7e961b1015d43d1a07269d81e7a9ce9 /misc.h | |
parent | 90279d80f57c79ac6566051172a94a2cca9674b1 (diff) | |
download | openssh-git-16ae3d0dba5f81e5602798b915105284033dea75.tar.gz |
- itojun@cvs.openbsd.org 2001/06/26 06:32:58
[atomicio.h authfd.h authfile.h auth.h auth-options.h bufaux.h
buffer.h canohost.h channels.h cipher.h clientloop.h compat.h
compress.h crc32.h deattack.h dh.h dispatch.h groupaccess.h
hostfile.h kex.h key.h log.h mac.h match.h misc.h mpaux.h packet.h
radix.h readconf.h readpass.h rsa.h]
prototype pedant. not very creative...
- () -> (void)
- no variable names
Diffstat (limited to 'misc.h')
-rw-r--r-- | misc.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $OpenBSD: misc.h,v 1.8 2001/05/19 19:43:57 stevesk Exp $ */ +/* $OpenBSD: misc.h,v 1.9 2001/06/26 06:32:56 itojun Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -12,27 +12,27 @@ * called by a name other than "ssh" or "Secure Shell". */ /* remove newline at end of string */ -char *chop(char *s); +char *chop(char *); /* return next token in configuration line */ -char *strdelim(char **s); +char *strdelim(char **); /* set/unset filedescriptor to non-blocking */ -void set_nonblock(int fd); -void unset_nonblock(int fd); +void set_nonblock(int); +void unset_nonblock(int); -struct passwd * pwcopy(struct passwd *pw); +struct passwd * pwcopy(struct passwd *); /* * Convert ASCII string to TCP/IP port number. * Port must be >0 and <=65535. * Return 0 if invalid. */ -int a2port(const char *s); +int a2port(const char *); /* code from scp.c/rcp.c */ -char *cleanhostname(char *host); -char *colon(char *cp); +char *cleanhostname(char *); +char *colon(char *); /* * Convert a time string into seconds; format is @@ -56,7 +56,7 @@ char *colon(char *cp); * Return -1 if time string is invalid. */ -long convtime(const char *s); +long convtime(const char *); /* function to assist building execv() arguments */ typedef struct arglist arglist; @@ -66,7 +66,7 @@ struct arglist { int nalloc; }; -void addargs(arglist *args, char *fmt, ...) __attribute__((format(printf, 2, 3))); +void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3))); /* wrapper for signal interface */ typedef void (*mysig_t)(int); |