diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:11:42 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2021-01-27 16:11:59 +0000 |
commit | 8139f66c36f8b437f5dbecb19607e2e09a9358d3 (patch) | |
tree | 6f918f756e59a2a83d0da2d7e3dce55e1684d9f8 /lzip.h | |
parent | Releasing debian version 0.6-1. (diff) | |
download | xlunzip-8139f66c36f8b437f5dbecb19607e2e09a9358d3.tar.xz xlunzip-8139f66c36f8b437f5dbecb19607e2e09a9358d3.zip |
Merging upstream version 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 */ |