projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove redundant null checks for arguments to sftp_{get,put}_file
[u/mdw/putty]
/
putty.h
diff --git
a/putty.h
b/putty.h
index
dcc80db
..
6534da7
100644
(file)
--- a/
putty.h
+++ b/
putty.h
@@
-836,6
+836,7
@@
void cleanup_exit(int);
X(INT, NONE, sshbug_rekey2) \
X(INT, NONE, sshbug_maxpkt2) \
X(INT, NONE, sshbug_ignore2) \
X(INT, NONE, sshbug_rekey2) \
X(INT, NONE, sshbug_maxpkt2) \
X(INT, NONE, sshbug_ignore2) \
+ X(INT, NONE, sshbug_winadj) \
/* \
* ssh_simple means that we promise never to open any channel \
* other than the main one, which means it can safely use a very \
/* \
* ssh_simple means that we promise never to open any channel \
* other than the main one, which means it can safely use a very \
@@
-1382,11
+1383,11
@@
char *get_random_data(int bytes); /* used in cmdgen.c */
* GETTICKCOUNT() and compare the result with the returned `next'
* value to find out how long you have to make your next wait().)
*/
* GETTICKCOUNT() and compare the result with the returned `next'
* value to find out how long you have to make your next wait().)
*/
-typedef void (*timer_fn_t)(void *ctx, long now);
-long schedule_timer(int ticks, timer_fn_t fn, void *ctx);
+typedef void (*timer_fn_t)(void *ctx,
unsigned
long now);
+
unsigned
long schedule_timer(int ticks, timer_fn_t fn, void *ctx);
void expire_timer_context(void *ctx);
void expire_timer_context(void *ctx);
-int run_timers(
long now,
long *next);
-void timer_change_notify(long next);
+int run_timers(
unsigned long now, unsigned
long *next);
+void timer_change_notify(
unsigned
long next);
/*
* Define no-op macros for the jump list functions, on platforms that
/*
* Define no-op macros for the jump list functions, on platforms that