Deleted Added
full compact
sparc.c (213700) sparc.c (223935)
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file sparc.c
4/// \brief Filter for SPARC binaries
5///
6// Authors: Igor Pavlov
7// Lasse Collin
8//
9// This file has been put into the public domain.
10// You can do whatever you want with this file.
11//
12///////////////////////////////////////////////////////////////////////////////
13
14#include "simple_private.h"
15
16
17static size_t
1///////////////////////////////////////////////////////////////////////////////
2//
3/// \file sparc.c
4/// \brief Filter for SPARC binaries
5///
6// Authors: Igor Pavlov
7// Lasse Collin
8//
9// This file has been put into the public domain.
10// You can do whatever you want with this file.
11//
12///////////////////////////////////////////////////////////////////////////////
13
14#include "simple_private.h"
15
16
17static size_t
18sparc_code(lzma_simple *simple lzma_attribute((unused)),
18sparc_code(lzma_simple *simple lzma_attribute((__unused__)),
19 uint32_t now_pos, bool is_encoder,
20 uint8_t *buffer, size_t size)
21{
22 size_t i;
23 for (i = 0; i + 4 <= size; i += 4) {
24
25 if ((buffer[i] == 0x40 && (buffer[i + 1] & 0xC0) == 0x00)
26 || (buffer[i] == 0x7F

--- 55 unchanged lines hidden ---
19 uint32_t now_pos, bool is_encoder,
20 uint8_t *buffer, size_t size)
21{
22 size_t i;
23 for (i = 0; i + 4 <= size; i += 4) {
24
25 if ((buffer[i] == 0x40 && (buffer[i + 1] & 0xC0) == 0x00)
26 || (buffer[i] == 0x7F

--- 55 unchanged lines hidden ---