From 4e8b4f669846da5166cc09ccaeff06710aaeb1b7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 27 Jan 2021 17:11:22 +0100 Subject: Adding upstream version 0.7. Signed-off-by: Daniel Baumann --- lzip.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lzip.h') diff --git a/lzip.h b/lzip.h index f06c084..15713ec 100644 --- a/lzip.h +++ b/lzip.h @@ -1,5 +1,5 @@ /* Xlunzip - Test tool for the lzip_decompress linux module - Copyright (C) 2016-2020 Antonio Diaz Diaz. + Copyright (C) 2016-2021 Antonio Diaz Diaz. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -75,6 +75,9 @@ static inline unsigned long long Lt_get_member_size( const Lzip_trailer data ) } +static inline void set_retval( int * retval, const int new_val ) + { if( *retval < new_val ) *retval = new_val; } + static const char * const mem_msg = "Not enough memory."; /* defined in in_place.c */ -- cgit v1.2.3