Move the declaration of smemclr() out of putty.h into misc.h, because
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Jul 2012 16:33:51 +0000 (16:33 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 28 Jul 2012 16:33:51 +0000 (16:33 +0000)
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

misc.h
putty.h

diff --git a/misc.h b/misc.h
index 9675e96..2ca2d8e 100644 (file)
--- 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 b32b0fa..dcc80db 100644 (file)
--- 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.