aboutsummaryrefslogtreecommitdiff
path: root/fastjar/compress.h
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-12-14 18:45:35 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-12-14 18:45:35 +0000
commit990bee10e7f467d0a2eaed58363b69896553a648 (patch)
tree4038c59b8993142fec6dcdc3b59d41af2314c771 /fastjar/compress.h
parentad46e8819b6ff19173ded53b8415e8ca89a82275 (diff)
downloadgcc-990bee10e7f467d0a2eaed58363b69896553a648.zip
gcc-990bee10e7f467d0a2eaed58363b69896553a648.tar.gz
gcc-990bee10e7f467d0a2eaed58363b69896553a648.tar.bz2
Warning fixes:
* compress.c: Include stdlib.h and compress.h. (rcsid): Delete. (report_str_error): Make static. (ez_inflate_str): Delete unused variable. Add parens in if-stmt. (hrd_inflate_str): Likewise. * compress.h (init_compression, end_compression, init_inflation, end_inflation): Prototype void arguments. * dostime.c (rcsid): Delete. * jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h. Make functions static. Cast ctype function argument to `unsigned char'. Add parens in if-stmts. Constify. (Usage): Change into a macro. (jargrep): Remove unused parameter. * jartool.c: Constify. Add parens in if-stmts. Align signed/unsigned char pointers in functions calls using casts. (rcsid): Delete. (list_jar): Fix printf format specifier. (usage): Chop long string into bits. Reformat. * pushback.c (rcsid): Delete. From-SVN: r38254
Diffstat (limited to 'fastjar/compress.h')
-rw-r--r--fastjar/compress.h16
1 files changed, 11 insertions, 5 deletions
diff --git a/fastjar/compress.h b/fastjar/compress.h
index f9fadba..9b3341e 100644
--- a/fastjar/compress.h
+++ b/fastjar/compress.h
@@ -1,6 +1,11 @@
-/* $Id: compress.h,v 1.1.1.1 1999/12/06 03:09:12 toast Exp $
+/* $Id: compress.h,v 1.1 2000/12/09 03:08:23 apbianco Exp $
$Log: compress.h,v $
+ Revision 1.1 2000/12/09 03:08:23 apbianco
+ 2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>
+
+ * fastjar: Imported.
+
Revision 1.1.1.1 1999/12/06 03:09:12 toast
initial checkin..
@@ -38,14 +43,15 @@
*/
/* Initializes the compression data structure(s) */
-void init_compression();
+void init_compression(void);
/* Compresses the file specified by in_fd and appends it to out_fd */
int compress_file(int in_fd, int out_fd, struct zipentry *ze);
/* Frees memory used by compression function */
-void end_compression();
+void end_compression(void);
-void init_inflation();
+void init_inflation(void);
int inflate_file(pb_file *, int, struct zipentry *);
-void end_inflation();
+void end_inflation(void);
+Bytef *inflate_string(pb_file *, ub4 *, ub4 *);