summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2010-12-04 16:03:19 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2010-12-04 16:03:19 +0000
commit569a97423cdc4a7a9cafde9dcf725cc55a4253a8 (patch)
tree267cb3b57fc6e9b587003a7f2f49ce291f74d703 /examples
parent26b4213a5bb3739e902d8dda925075e4deed5134 (diff)
downloadlibdom-569a97423cdc4a7a9cafde9dcf725cc55a4253a8.tar.gz
libdom-569a97423cdc4a7a9cafde9dcf725cc55a4253a8.tar.bz2
Remove unused libdom client data stuff.
svn path=/trunk/dom/; revision=10965
Diffstat (limited to 'examples')
-rw-r--r--examples/dom-structure-dump.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/examples/dom-structure-dump.c b/examples/dom-structure-dump.c
index 6df421f..ac46a88 100644
--- a/examples/dom-structure-dump.c
+++ b/examples/dom-structure-dump.c
@@ -49,10 +49,6 @@
#define UNUSED(x) ((x)=(x))
-struct test_data {
- int wah;
-};
-
dom_document *create_doc_dom_from_file(char *file);
void *test_realloc(void *ptr, size_t len, void *pw)
@@ -77,14 +73,13 @@ void test_msg(uint32_t severity, void *ctx, const char *msg, ...)
int main(int argc, char **argv)
{
- struct test_data test_data;
dom_exception exc;
lwc_error err;
dom_document *doc = NULL;
dom_element *root = NULL;
/* Initialise the DOM library */
- exc = dom_initialise(test_realloc, &test_data);
+ exc = dom_initialise(test_realloc, NULL);
if (exc != DOM_NO_ERR) {
printf("Failed to initialise DOM library.\n");
return EXIT_FAILURE;