summaryrefslogtreecommitdiff
path: root/misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'misc.h')
-rw-r--r--misc.h21
1 files changed, 11 insertions, 10 deletions
diff --git a/misc.h b/misc.h
index 5f0b0aa4f..fc5645271 100644
--- a/misc.h
+++ b/misc.h
@@ -12,14 +12,16 @@
12 * called by a name other than "ssh" or "Secure Shell". 12 * called by a name other than "ssh" or "Secure Shell".
13 */ 13 */
14 14
15char *chop(char *); 15char *chop(char *);
16char *strdelim(char **); 16char *strdelim(char **);
17void set_nonblock(int); 17void set_nonblock(int);
18void unset_nonblock(int); 18void unset_nonblock(int);
19int a2port(const char *); 19int a2port(const char *);
20char *cleanhostname(char *); 20char *cleanhostname(char *);
21char *colon(char *); 21char *colon(char *);
22long convtime(const char *); 22long convtime(const char *);
23
24struct passwd *pwcopy(struct passwd *);
23 25
24typedef struct arglist arglist; 26typedef struct arglist arglist;
25struct arglist { 27struct arglist {
@@ -27,8 +29,7 @@ struct arglist {
27 int num; 29 int num;
28 int nalloc; 30 int nalloc;
29}; 31};
30 32void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));
31void addargs(arglist *, char *, ...) __attribute__((format(printf, 2, 3)));
32 33
33/* wrapper for signal interface */ 34/* wrapper for signal interface */
34typedef void (*mysig_t)(int); 35typedef void (*mysig_t)(int);