mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-24 02:59:49 +02:00
convert into static declarations where possible
This commit is contained in:
1 parent
ad08952999
commit
b62347c73e
13 files changed
+70
-73
No files matched your search
@@ -204,12 +204,9 @@ boyermoore_horspool_memmem(const unsigned char* haystack, size_t hlen,
|
||||
const unsigned char* needle, size_t nlen);
|
||||
|
||||
|
||||
extern void* pongo_usb_callback(stuff_t* arg);
|
||||
usb_ret_t USBControlTransfer(usb_device_handle_t handle, uint8_t bmRequestType, uint8_t bRequest, uint16_t wValue, uint16_t wIndex, uint32_t wLength, void *data, uint32_t *wLenDone);
|
||||
const char *usb_strerror(usb_ret_t err);
|
||||
int wait_for_pongo(void);
|
||||
int upload_pongo_file(usb_device_handle_t, unsigned char*, unsigned int);
|
||||
int issue_pongo_command(usb_device_handle_t, char*);
|
||||
int tui(void);
|
||||
int optparse(int argc, char* argv[]);
|
||||
|
||||
@@ -221,7 +218,6 @@ bool set_found_pongo(bool val);
|
||||
uint64_t get_ecid_wait_for_dfu(void);
|
||||
uint64_t set_ecid_wait_for_dfu(uint64_t ecid);
|
||||
|
||||
void write_stdout(char *buf, uint32_t len);
|
||||
void io_start(stuff_t *stuff);
|
||||
void io_stop(stuff_t *stuff);
|
||||
|
||||
|
||||
@@ -102,12 +102,9 @@ void tui_draw_rectangle(int x1, int y1, int x2, int y2);
|
||||
#define TUI_VERSION "Unknown Version"
|
||||
#endif
|
||||
|
||||
extern int tui_state;
|
||||
extern int tui_x_offset;
|
||||
extern int tui_y_offset;
|
||||
|
||||
extern bool tui_can_start;
|
||||
|
||||
extern int tui_mouse_x;
|
||||
extern int tui_mouse_y;
|
||||
|
||||
@@ -167,8 +164,6 @@ struct tui_connected_device {
|
||||
|
||||
extern struct tui_connected_device *tui_connected_devices;
|
||||
|
||||
int tui_compare_versions(const char *firstVersion, const char *secondVersion);
|
||||
|
||||
void tui_jailbreak(void);
|
||||
extern bool tui_is_jailbreaking;
|
||||
extern int tui_jailbreak_stage;
|
||||
@@ -179,7 +174,6 @@ void tui_jailbreak_status_changed(void);
|
||||
extern bool tui_is_restarting;
|
||||
void tui_terminate(int sig);
|
||||
|
||||
extern bool tui_options_allow_untested;
|
||||
extern bool tui_options_safe_mode;
|
||||
extern bool tui_options_verbose_boot;
|
||||
extern bool tui_options_force_revert;
|
||||
|
||||
Reference in new issue
Block a user