summaryrefslogtreecommitdiff
path: root/tests/run-dumper.c
diff options
context:
space:
mode:
authorxi <xi@18f92427-320e-0410-9341-c67f048884a3>2007-12-27 21:11:27 +0000
committerxi <xi@18f92427-320e-0410-9341-c67f048884a3>2007-12-27 21:11:27 +0000
commit3c947364518c8d42fe4914fa7017b6ef8dabfb53 (patch)
tree18d11eceb857ae4e5be0fb3e24063705c6283854 /tests/run-dumper.c
parent98683c2dcc0591aa96aa0a75208ad5470f1d3efd (diff)
downloadlibyaml-3c947364518c8d42fe4914fa7017b6ef8dabfb53.tar.gz
Fixed bugs and updated tests.
git-svn-id: http://svn.pyyaml.org/libyaml/trunk@265 18f92427-320e-0410-9341-c67f048884a3
Diffstat (limited to 'tests/run-dumper.c')
-rw-r--r--tests/run-dumper.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/run-dumper.c b/tests/run-dumper.c
index 41bead4..dbe6c41 100644
--- a/tests/run-dumper.c
+++ b/tests/run-dumper.c
@@ -12,6 +12,8 @@
#define BUFFER_SIZE 65536
#define MAX_DOCUMENTS 16
+#if 0
+
int copy_document(yaml_document_t *document_to, yaml_document_t *document_from)
{
yaml_node_t *node;
@@ -184,9 +186,12 @@ int print_output(char *name, unsigned char *buffer, size_t size, int count)
return 0;
}
+#endif
+
int
main(int argc, char *argv[])
{
+#if 0
int number;
int canonical = 0;
int unicode = 0;
@@ -307,5 +312,6 @@ main(int argc, char *argv[])
print_output(argv[number], buffer, written, -1);
}
+#endif
return 0;
}