diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:11:22 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:11:22 +0000 |
commit | 4e8b4f669846da5166cc09ccaeff06710aaeb1b7 (patch) | |
tree | 4d43dd4ea1e336065ba7208e974f29afe542b7d2 /lzip.h | |
parent | Adding upstream version 0.6. (diff) | |
download | xlunzip-4e8b4f669846da5166cc09ccaeff06710aaeb1b7.tar.xz xlunzip-4e8b4f669846da5166cc09ccaeff06710aaeb1b7.zip |
Adding upstream version 0.7.upstream/0.7
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'lzip.h')
-rw-r--r-- | lzip.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 */ |