summaryrefslogtreecommitdiffstats
path: root/src/limera1n_payload.h
diff options
context:
space:
mode:
authorGravatar Rosen Penev2019-12-10 21:00:28 -0800
committerGravatar Rosen Penev2020-04-12 16:05:01 -0700
commit8bd04f650342fd7225765ef6194c411bc54ce7e5 (patch)
tree4823416e0241626a30921330e146901277cf9f2e /src/limera1n_payload.h
parent791c218b48b6557f24d479a7aa7d6586a612a128 (diff)
downloadidevicerestore-8bd04f650342fd7225765ef6194c411bc54ce7e5.tar.gz
idevicerestore-8bd04f650342fd7225765ef6194c411bc54ce7e5.tar.bz2
Fix missing declaration warnings
Allows better compilation by the compiler.
Diffstat (limited to 'src/limera1n_payload.h')
-rw-r--r--src/limera1n_payload.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/limera1n_payload.h b/src/limera1n_payload.h
index bec3105..0a213db 100644
--- a/src/limera1n_payload.h
+++ b/src/limera1n_payload.h
@@ -19,6 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+extern unsigned char limera1n_payload[];
+
unsigned char limera1n_payload[] = {
0x7f, 0x46, 0x07, 0xe0, 0xc0, 0x46, 0xc0, 0x46,
0xc0, 0x46, 0xc0, 0x46, 0xc0, 0x46, 0xc0, 0x46,
@@ -91,4 +93,5 @@ unsigned char limera1n_payload[] = {
0xb0, 0xb5, 0x02, 0xaf, 0x82, 0xb0, 0x01, 0x28,
0x00, 0x4b, 0x18, 0x47, 0x00, 0x00, 0x00, 0x41
};
-unsigned int limera1n_payload_len = 560;
+__attribute__((unused))
+static unsigned int limera1n_payload_len = 560;