fix(bypass): Add missing stdlib.h and path_a internal header

Fixes build error from missing free() declaration in path_a.c.
Created path_a_internal.h for shared declarations between
path_a.c and path_a_jailbreak.c per project splitting convention.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
tr4m0ryp 2026-04-05 03:24:56 +02:00
parent 90ad9b688c
commit a6ba920e14
3 changed files with 20 additions and 4 deletions

View file

@ -0,0 +1,17 @@
/*
* path_a_internal.h -- Internal declarations shared between path_a.c
* and path_a_jailbreak.c.
*
* Not part of the public API. Include only within the bypass module.
*/
#ifndef BYPASS_PATH_A_INTERNAL_H
#define BYPASS_PATH_A_INTERNAL_H
#include "device/device.h"
int path_a_load_ramdisk(device_info_t *dev);
int path_a_jailbreak(device_info_t *dev);
int path_a_replace_mobileactivationd(device_info_t *dev);
#endif /* BYPASS_PATH_A_INTERNAL_H */