]> git.lizzy.rs Git - zlib.git/blobdiff - inftrees.h
Avoid an undefined behavior of memcpy() in gzappend().
[zlib.git] / inftrees.h
index 67461da0348ce67f41557c5ac5217223b16a481d..baa53a0b1a199ce6ea4c3f99d0306502ab4fab2c 100644 (file)
@@ -1,5 +1,5 @@
 /* inftrees.h -- header to use inftrees.c
- * Copyright (C) 1995-2005 Mark Adler
+ * Copyright (C) 1995-2005, 2010 Mark Adler
  * For conditions of distribution and use, see copyright notice in zlib.h
  */
 
@@ -57,6 +57,6 @@ typedef enum {
     DISTS
 } codetype;
 
-extern int inflate_table OF((codetype type, unsigned short FAR *lens,
+int ZLIB_INTERNAL inflate_table OF((codetype type, unsigned short FAR *lens,
                              unsigned codes, code FAR * FAR *table,
                              unsigned FAR *bits, unsigned short FAR *work));