summaryrefslogtreecommitdiff
path: root/examples/c/ex_pack.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/c/ex_pack.c')
-rw-r--r--examples/c/ex_pack.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/c/ex_pack.c b/examples/c/ex_pack.c
index c412d883485..29d645f6cfc 100644
--- a/examples/c/ex_pack.c
+++ b/examples/c/ex_pack.c
@@ -34,9 +34,10 @@
#include <wiredtiger.h>
-const char *home;
+static const char *home;
-int main(void)
+int
+main(void)
{
WT_CONNECTION *conn;
WT_SESSION *session;