-void bi_init OF((file_t zipfile));
-void send_bits OF((int value, int length));
-unsigned bi_reverse OF((unsigned value, int length));
-void bi_windup OF((void));
-void copy_block OF((char *buf, unsigned len, int header));
-extern int (*read_buf) OF((char *buf, unsigned size));
-
- /* in util.c: */
-extern int copy OF((int in, int out));
-extern ulg updcrc OF((uch *s, unsigned n));
-extern void clear_bufs OF((void));
-extern int fill_inbuf OF((int eof_ok));
-extern void flush_outbuf OF((void));
-extern void flush_window OF((void));
-extern void write_buf OF((int fd, voidp buf, unsigned cnt));
-extern char *strlwr OF((char *s));
-extern char *base_name OF((char *fname));
-extern int xunlink OF((char *fname));
-extern void make_simple_name OF((char *name));
-extern char *add_envopt OF((int *argcp, char ***argvp, char *env));
-extern void error OF((char *m));
-extern void warning OF((char *m));
-extern void read_error OF((void));
-extern void write_error OF((void));
-extern void display_ratio OF((off_t num, off_t den, FILE *file));
-extern void fprint_off OF((FILE *, off_t, int));
-extern voidp xmalloc OF((unsigned int size));
-
- /* in inflate.c */
-extern int inflate OF((void));
-
- /* in yesno.c */
-extern int yesno OF((void));
+extern void bi_init (file_t zipfile);
+extern void send_bits (int value, int length);
+extern unsigned bi_reverse (unsigned value, int length) _GL_ATTRIBUTE_CONST;
+extern void bi_windup (void);
+extern void copy_block (char *buf, unsigned len, int header);
+extern int (*read_buf) (char *buf, unsigned size);
+
+ /* in util.c: */
+extern int copy (int in, int out);
+extern ulg updcrc (uch *s, unsigned n);
+extern void clear_bufs (void);
+extern int fill_inbuf (int eof_ok);
+extern void flush_outbuf (void);
+extern void flush_window (void);
+extern void write_buf (int fd, voidp buf, unsigned cnt);
+extern int read_buffer (int fd, voidp buf, unsigned int cnt);
+extern char *strlwr (char *s);
+extern char *gzip_base_name (char *fname) _GL_ATTRIBUTE_PURE;
+extern int xunlink (char *fname);
+extern void make_simple_name (char *name);
+extern char *add_envopt (int *argcp, char ***argvp, char const *env);
+extern noreturn void gzip_error (char const *m);
+extern noreturn void xalloc_die (void);
+extern void warning (char const *m);
+extern noreturn void read_error (void);
+extern noreturn void write_error (void);
+extern void display_ratio (off_t num, off_t den, FILE *file);
+extern void fprint_off (FILE *, off_t, int);
+
+ /* in inflate.c */
+extern int inflate (void);