uncompress.c (2fc2991175bf77395e6b15fe6b2304d3bf72da40) | uncompress.c (368bdb3d616fa352971f45b423ae6344715e620b) |
---|---|
1/* 2 * uncompress.c 3 * 4 * (C) Copyright 1999 Linus Torvalds 5 * 6 * cramfs interfaces to the uncompression library. There's really just 7 * three entrypoints: 8 * --- 54 unchanged lines hidden (view full) --- 63 } 64 stream.next_in = NULL; 65 stream.avail_in = 0; 66 zlib_inflateInit(&stream); 67 } 68 return 0; 69} 70 | 1/* 2 * uncompress.c 3 * 4 * (C) Copyright 1999 Linus Torvalds 5 * 6 * cramfs interfaces to the uncompression library. There's really just 7 * three entrypoints: 8 * --- 54 unchanged lines hidden (view full) --- 63 } 64 stream.next_in = NULL; 65 stream.avail_in = 0; 66 zlib_inflateInit(&stream); 67 } 68 return 0; 69} 70 |
71int cramfs_uncompress_exit(void) | 71void cramfs_uncompress_exit(void) |
72{ 73 if (!--initialized) { 74 zlib_inflateEnd(&stream); 75 vfree(stream.workspace); 76 } | 72{ 73 if (!--initialized) { 74 zlib_inflateEnd(&stream); 75 vfree(stream.workspace); 76 } |
77 return 0; | |
78} | 77} |