summaryrefslogtreecommitdiff
path: root/tests/memory.c
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2001-04-03 01:44:48 +0200
committerKevin Ryde <user42@zip.com.au>2001-04-03 01:44:48 +0200
commitd1ed4f7bde6a29f29cd7d45b520b3975b94eb5bb (patch)
tree3de836417d157ece41691e8248fd7e1a45c30b27 /tests/memory.c
parent5f6f435fcc7475346bd5ded7012cf04dbe597e7b (diff)
downloadgmp-d1ed4f7bde6a29f29cd7d45b520b3975b94eb5bb.tar.gz
Add stdlib.h and tweak a comment.
Diffstat (limited to 'tests/memory.c')
-rw-r--r--tests/memory.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/memory.c b/tests/memory.c
index b6c784cb9..86f5b0d0d 100644
--- a/tests/memory.c
+++ b/tests/memory.c
@@ -22,6 +22,7 @@ MA 02111-1307, USA.
*/
#include <stdio.h>
+#include <stdlib.h> /* for abort */
#include "gmp.h"
#include "gmp-impl.h"
@@ -32,9 +33,9 @@ MA 02111-1307, USA.
Sizes passed when reallocating or freeing are checked (the default
routines don't care about these).
- Memory leaks are check by requiring that all blocks are freed before
- tests_memory_end(). Test programs must be sure to have "clear"s for all
- temporary variables used. */
+ Memory leaks are checked by requiring that all blocks have been freed
+ when tests_memory_end() is called. Test programs must be sure to have
+ "clear"s for all temporary variables used. */
struct header {