Mercurial > libpst
diff src/getidblock.c @ 186:0a4f7ecd7452
more cleanup of external names in the shared library
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 13 Apr 2009 19:14:30 -0700 |
parents | 6954d315aaa8 |
children | 2f38c4ce606f |
line wrap: on
line diff
--- a/src/getidblock.c Mon Apr 13 15:55:55 2009 -0700 +++ b/src/getidblock.c Mon Apr 13 19:14:30 2009 -0700 @@ -22,7 +22,7 @@ { char *buf = NULL; size_t readSize; - pst_desc_ll *ptr; + pst_desc_tree *ptr; DEBUG_MAIN(("\n\n\nLooking at block index1 id %#"PRIx64"\n", i_id)); @@ -52,8 +52,8 @@ ptr = pst_getNextDptr(ptr); } if (!ptr) { - ptr = (pst_desc_ll *) pst_malloc(sizeof(pst_desc_ll)); - memset(ptr, 0, sizeof(pst_desc_ll)); + ptr = (pst_desc_tree *) pst_malloc(sizeof(pst_desc_tree)); + memset(ptr, 0, sizeof(pst_desc_tree)); ptr->desc = pst_getID(&pstfile, i_id); } pst_item *item = pst_parse_item(&pstfile, ptr, NULL); @@ -62,8 +62,8 @@ } -void dump_desc(pst_desc_ll *ptr); -void dump_desc(pst_desc_ll *ptr) +void dump_desc(pst_desc_tree *ptr); +void dump_desc(pst_desc_tree *ptr) { while (ptr) { DEBUG_MAIN(("\n\n\nLooking at block desc id %#"PRIx64"\n", ptr->d_id));