summaryrefslogtreecommitdiff
path: root/examples/c/ex_all.c
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-03-19 09:44:01 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-03-19 09:44:01 -0400
commit79bbc738b71da6a22c0747eb0d92e9365f06d9ae (patch)
treefc0bc691b9d0a2d52a06ce6ce4e3e65a16fe397c /examples/c/ex_all.c
parent8fc09c1bbccc736036b9fd6d27db430abebdc4f3 (diff)
downloadmongo-79bbc738b71da6a22c0747eb0d92e9365f06d9ae.tar.gz
Clean up the #includes.
Diffstat (limited to 'examples/c/ex_all.c')
-rw-r--r--examples/c/ex_all.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/examples/c/ex_all.c b/examples/c/ex_all.c
index 830cca9fa2f..78aec04b08b 100644
--- a/examples/c/ex_all.c
+++ b/examples/c/ex_all.c
@@ -33,8 +33,8 @@
* fragments.
*/
-#include <assert.h>
-#include <errno.h>
+#include <sys/stat.h>
+
#include <inttypes.h>
#include <stdio.h>
#include <stdlib.h>
@@ -45,7 +45,6 @@
#else
#include "windows_shim.h"
#endif
-#include <sys/stat.h>
#include <wiredtiger.h>
@@ -937,7 +936,6 @@ pack_ops(WT_SESSION *session)
size_t size;
ret = wiredtiger_struct_size(session, &size, "iSh", 42, "hello", -3);
/*! [Get the packed size] */
- assert(size < 100);
}
{