X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=notiming.c;h=5fe440389e0b95f6a191a7faf4dcd69e9dbbe319;hb=2eb952ca31aa13d1f6f429305fbb6f43a9a28c56;hp=2d0fc5d5a7cf3545c7776a2a3e2e4c5bc4dff531;hpb=c66ac86b91c2926b032074058991ae776ca806bd;p=PuTTY.git diff --git a/notiming.c b/notiming.c index 2d0fc5d5..5fe44038 100644 --- a/notiming.c +++ b/notiming.c @@ -1,15 +1,21 @@ /* - * notiming.c: stub version of schedule_timer(). + * notiming.c: stub version of timing API. * - * Used in key generation tools, which need the random number - * generator but don't want the hassle of calling noise_regular() - * at regular intervals - and don't _need_ it either, since they + * Used in any tool which needs a subsystem linked against the + * timing API but doesn't want to actually provide timing. For + * example, key generation tools need the random number generator, + * but they don't want the hassle of calling noise_regular() at + * regular intervals - and they don't _need_ it either, since they * have their own rigorous and different means of noise collection. */ #include "putty.h" -long schedule_timer(int ticks, timer_fn_t fn, void *ctx) +unsigned long schedule_timer(int ticks, timer_fn_t fn, void *ctx) { return 0; } + +void expire_timer_context(void *ctx) +{ +}