1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

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.

[originally from svn r9590]
This commit is contained in:
Simon Tatham 2012-07-28 16:33:51 +00:00
parent afa871e3cf
commit b0bb426aa7
2 changed files with 2 additions and 1 deletions

2
misc.h
View File

@ -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.
*

View File

@ -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.