diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 2003-01-12 02:14:56 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 2003-01-12 02:14:56 +0000 |
commit | 0a2f0c5497342d01717c93db97aeb5318c3ec42c (patch) | |
tree | ae14f5fe1cbe481163ab4bcb25d7f4cec4d064a8 /gcc/java/zextract.c | |
parent | 8e37cba890b62aa56f48cfbbca16e16b748355d6 (diff) | |
download | gcc-0a2f0c5497342d01717c93db97aeb5318c3ec42c.zip gcc-0a2f0c5497342d01717c93db97aeb5318c3ec42c.tar.gz gcc-0a2f0c5497342d01717c93db97aeb5318c3ec42c.tar.bz2 |
* All Files: Convert to ISO C style function definitions.
From-SVN: r61218
Diffstat (limited to 'gcc/java/zextract.c')
-rw-r--r-- | gcc/java/zextract.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/gcc/java/zextract.c b/gcc/java/zextract.c index 148c77e..8800bd4 100644 --- a/gcc/java/zextract.c +++ b/gcc/java/zextract.c @@ -222,8 +222,7 @@ static long find_zip_file_start (int fd, long offset); /* Function makeword() */ /***********************/ -static ush makeword(b) - const uch *b; +static ush makeword(const uch *b) { /* * Convert Intel style 'short' integer to non-Intel non-16-bit @@ -237,8 +236,7 @@ static ush makeword(b) /* Function makelong() */ /***********************/ -static ulg makelong(sig) - const uch *sig; +static ulg makelong(const uch *sig) { /* * Convert intel style 'long' variable to non-Intel non-16-bit @@ -254,9 +252,7 @@ static ulg makelong(sig) start of the actual data. Return -1 on error. OFFSET is the offset from the beginning of the zip file of the file's header. */ static long -find_zip_file_start (fd, offset) - int fd; - long offset; +find_zip_file_start (int fd, long offset) { int filename_length, extra_field_length; unsigned char buffer[LREC_SIZE + 4]; @@ -277,8 +273,7 @@ find_zip_file_start (fd, offset) } int -read_zip_archive (zipf) - register ZipFile *zipf; +read_zip_archive (ZipFile *zipf) { int i; int dir_last_pad; @@ -356,7 +351,7 @@ read_zip_archive (zipf) } #ifdef TEST -main () +main (void) { ZipFile zipf[1]; ZipDirectory *zipd; |