X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/428cc4b076af10ff9acfeb878bc791b5a5752c2c..d2d119128a6e5c1d0a72d3812f9fb85a4e1e890d:/notiming.c diff --git a/notiming.c b/notiming.c index 2d0fc5d5..384fa670 100644 --- a/notiming.c +++ b/notiming.c @@ -1,9 +1,11 @@ /* - * 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. */ @@ -13,3 +15,7 @@ long schedule_timer(int ticks, timer_fn_t fn, void *ctx) { return 0; } + +void expire_timer_context(void *ctx) +{ +}