< prev index next >

src/java.base/share/native/libzip/zlib/gzclose.c

Print this page
*** 30,13 ***
  #include "gzguts.h"
  
  /* gzclose() is in a separate file so that it is linked in only if it is used.
     That way the other gzclose functions can be used instead to avoid linking in
     unneeded compression or decompression routines. */
! int ZEXPORT gzclose(file)
-     gzFile file;
- {
  #ifndef NO_GZCOMPRESS
      gz_statep state;
  
      if (file == NULL)
          return Z_STREAM_ERROR;
--- 30,11 ---
  #include "gzguts.h"
  
  /* gzclose() is in a separate file so that it is linked in only if it is used.
     That way the other gzclose functions can be used instead to avoid linking in
     unneeded compression or decompression routines. */
! int ZEXPORT gzclose(gzFile file) {
  #ifndef NO_GZCOMPRESS
      gz_statep state;
  
      if (file == NULL)
          return Z_STREAM_ERROR;
< prev index next >