diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2000-12-14 18:45:35 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2000-12-14 18:45:35 +0000 |
commit | 990bee10e7f467d0a2eaed58363b69896553a648 (patch) | |
tree | 4038c59b8993142fec6dcdc3b59d41af2314c771 /fastjar/pushback.c | |
parent | ad46e8819b6ff19173ded53b8415e8ca89a82275 (diff) | |
download | gcc-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/pushback.c')
-rw-r--r-- | fastjar/pushback.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/fastjar/pushback.c b/fastjar/pushback.c index 03cdd65..26a26736 100644 --- a/fastjar/pushback.c +++ b/fastjar/pushback.c @@ -1,6 +1,11 @@ -/* $Id: pushback.c,v 1.2 2000/08/23 19:42:17 cory Exp $ +/* $Id: pushback.c,v 1.1 2000/12/09 03:08:23 apbianco Exp $ $Log: pushback.c,v $ + Revision 1.1 2000/12/09 03:08:23 apbianco + 2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com> + + * fastjar: Imported. + Revision 1.2 2000/08/23 19:42:17 cory Added support for more Unix platforms. The following code has been hacked to work on AIX, Solaris, True 64, and HP-UX. @@ -43,8 +48,6 @@ #include "jartool.h" #include "pushback.h" -static char rcsid[] = "$Id: pushback.c,v 1.2 2000/08/23 19:42:17 cory Exp $"; - void pb_init(pb_file *pbf, int fd){ pbf->fd = fd; pbf->next = pbf->pb_buff; |