diff --git a/src/archivers/dms/cdata.h b/src/archivers/dms/cdata.h index 4de9b9f..b7d61a9 100644 --- a/src/archivers/dms/cdata.h +++ b/src/archivers/dms/cdata.h @@ -31,7 +31,7 @@ #define INLINE inline #else #ifdef __GNUC__ - #define INLINE inline + #define INLINE static inline #else #ifdef __SASC #define INLINE __inline diff --git a/src/archivers/dms/u_heavy.c b/src/archivers/dms/u_heavy.c index a7e8d11..43d28f3 100644 --- a/src/archivers/dms/u_heavy.c +++ b/src/archivers/dms/u_heavy.c @@ -33,49 +33,6 @@ USHORT dms_heavy_text_loc; static USHORT read_tree_c(void); static USHORT read_tree_p(void); -INLINE USHORT decode_c(void); -INLINE USHORT decode_p(void); - - - -USHORT Unpack_HEAVY(UCHAR *in, UCHAR *out, UCHAR flags, USHORT origsize){ - USHORT j, i, c, bitmask; - UCHAR *outend; - - /* Heavy 1 uses a 4Kb dictionary, Heavy 2 uses 8Kb */ - - if (flags & 8) { - dms_np = 15; - bitmask = 0x1fff; - } else { - dms_np = 14; - bitmask = 0x0fff; - } - - initbitbuf(in); - - if (flags & 2) { - if (read_tree_c()) return 1; - if (read_tree_p()) return 2; - } - - outend = out+origsize; - - while (out