diff options
author | Jason Evans <jasone@canonware.com> | 2013-12-09 04:52:21 (GMT) |
---|---|---|
committer | Jason Evans <jasone@canonware.com> | 2013-12-09 04:52:21 (GMT) |
commit | 2a83ed0284e92c7ba4bd4efe9df149ac724b2f26 (patch) | |
tree | 915b5dbaa91c4a8dd3fdffedb98ce8abb48535b6 /include | |
parent | 9f35a71a81adcfd6c0ea6461ecd2b84ac384e34f (diff) | |
download | jemalloc-2a83ed0284e92c7ba4bd4efe9df149ac724b2f26.zip jemalloc-2a83ed0284e92c7ba4bd4efe9df149ac724b2f26.tar.gz jemalloc-2a83ed0284e92c7ba4bd4efe9df149ac724b2f26.tar.bz2 |
Refactor tests.
Refactor tests to use explicit testing assertions, rather than diff'ing
test output. This makes the test code a bit shorter, more explicitly
encodes testing intent, and makes test failure diagnosis more
straightforward.
Diffstat (limited to 'include')
-rw-r--r-- | include/jemalloc/internal/chunk_dss.h | 2 | ||||
-rw-r--r-- | include/jemalloc/internal/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/jemalloc/internal/chunk_dss.h b/include/jemalloc/internal/chunk_dss.h index 6585f07..4535ce0 100644 --- a/include/jemalloc/internal/chunk_dss.h +++ b/include/jemalloc/internal/chunk_dss.h @@ -7,7 +7,7 @@ typedef enum { dss_prec_secondary = 2, dss_prec_limit = 3 -} dss_prec_t ; +} dss_prec_t; #define DSS_PREC_DEFAULT dss_prec_secondary #define DSS_DEFAULT "secondary" diff --git a/include/jemalloc/internal/util.h b/include/jemalloc/internal/util.h index bf18d3c..a8904d0 100644 --- a/include/jemalloc/internal/util.h +++ b/include/jemalloc/internal/util.h @@ -84,7 +84,7 @@ /******************************************************************************/ #ifdef JEMALLOC_H_EXTERNS -int buferror(char *buf, size_t buflen); +int buferror(int err, char *buf, size_t buflen); uintmax_t malloc_strtoumax(const char *nptr, char **endptr, int base); void malloc_write(const char *s); |