diff options
author | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-02-12 21:23:24 +1100 |
---|---|---|
committer | Michael Cahill <michael.cahill@wiredtiger.com> | 2014-02-12 21:23:24 +1100 |
commit | 0d14ebe39fb1ccdbecf847b8cf63014ff813d01c (patch) | |
tree | 77eecd0a9c351e1fc928d1c9e816e83128f7378e /bench/wtperf | |
parent | aba05704242566be8a6c7440a9c13fd010c1060f (diff) | |
download | mongo-0d14ebe39fb1ccdbecf847b8cf63014ff813d01c.tar.gz |
Fix some warnings in the wtperf config code.
Diffstat (limited to 'bench/wtperf')
-rw-r--r-- | bench/wtperf/wtperf.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h index 9008e363281..750c964087e 100644 --- a/bench/wtperf/wtperf.h +++ b/bench/wtperf/wtperf.h @@ -90,8 +90,8 @@ struct __config { /* Configuration struction */ FILE *logf; /* Logging handle */ - char *compress_ext; /* Compression extention for conn */ - char *compress_table; /* Compression arg to table create */ + const char *compress_ext; /* Compression extention for conn */ + const char *compress_table; /* Compression arg to table create */ CONFIG_THREAD *ckptthreads, *popthreads; @@ -191,6 +191,7 @@ struct __config_thread { /* Per-thread structure */ }; int config_assign(CONFIG *, const CONFIG *); +int config_compress(CONFIG *); void config_free(CONFIG *); int config_opt_file(CONFIG *, const char *); int config_opt_line(CONFIG *, const char *); |