From: simon Date: Sat, 28 Jul 2012 16:33:51 +0000 (+0000) Subject: Move the declaration of smemclr() out of putty.h into misc.h, because X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/commitdiff_plain/b9e4cb9890383367cfd03029ab66997db073bc0b Move the declaration of smemclr() out of putty.h into misc.h, because one of its uses (in sshaes.c) wasn't picking up the former. Thanks to Ubuntu's gcc for spotting that. git-svn-id: svn://svn.tartarus.org/sgt/putty@9590 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/misc.h b/misc.h index 9675e961..2ca2d8e3 100644 --- a/misc.h +++ b/misc.h @@ -50,6 +50,8 @@ void bufchain_fetch(bufchain *ch, void *data, int len); struct tm ltime(void); +void smemclr(void *b, size_t len); + /* * Debugging functions. * diff --git a/putty.h b/putty.h index b32b0fa1..dcc80db5 100644 --- a/putty.h +++ b/putty.h @@ -1291,7 +1291,6 @@ int filename_serialise(const Filename *f, void *data); Filename *filename_deserialise(void *data, int maxsize, int *used); char *get_username(void); /* return value needs freeing */ char *get_random_data(int bytes); /* used in cmdgen.c */ -void smemclr(void *b, size_t len); /* * Exports and imports from timing.c.