viewer: remove unused const value.

Signed-off-by: Andreas Mohr <and@gmx.li>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2015-12-20 23:21:09 +00:00 committed by Andrew Borodin
parent 5d8a9cdfbb
commit c314995b9f
2 changed files with 0 additions and 2 deletions

View File

@ -23,7 +23,6 @@ typedef unsigned char byte;
/* A width or height on the screen */
typedef unsigned int screen_dimen;
extern const off_t INVALID_OFFSET;
extern const off_t OFFSETTYPE_MAX;
/*** enums ***************************************************************************************/

View File

@ -56,7 +56,6 @@
/*** global variables ****************************************************************************/
#define OFF_T_BITWIDTH (unsigned int) (sizeof (off_t) * CHAR_BIT - 1)
const off_t INVALID_OFFSET = (off_t) (-1);
const off_t OFFSETTYPE_MAX = ((off_t) 1 << (OFF_T_BITWIDTH - 1)) - 1;
/*** file scope macro definitions ****************************************************************/