Skip to content

Commit

Permalink
TIFF: byteswap_macro() was added in 2001 and never used
Browse files Browse the repository at this point in the history
  • Loading branch information
tonycoz committed Nov 15, 2023
1 parent e006f45 commit 71013e4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions TIFF/imtiff.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ Some of these functions are internal.
=cut
*/

#define byteswap_macro(x) \
((((x) & 0xff000000) >> 24) | (((x) & 0x00ff0000) >> 8) | \
(((x) & 0x0000ff00) << 8) | (((x) & 0x000000ff) << 24))

#define CLAMP8(x) ((x) < 0 ? 0 : (x) > 255 ? 255 : (x))
#define CLAMP16(x) ((x) < 0 ? 0 : (x) > 65535 ? 65535 : (x))

Expand Down

0 comments on commit 71013e4

Please sign in to comment.