Skip to content

Commit d27c8b3

Browse files
committed
fix deprecated-non-prototype compilation warning
> a function declaration without a prototype is deprecated in all > versions of C and is not supported in C2x > [-Werror,-Wdeprecated-non-prototype]
1 parent 94e4625 commit d27c8b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ios_webkit_debug_proxy_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ void iwdpm_free(iwdpm_t self) {
217217
}
218218
}
219219

220-
iwdpm_t iwdpm_new(int argc, char **argv, int *to_exit) {
220+
iwdpm_t iwdpm_new() {
221221
iwdpm_t self = malloc(sizeof(struct iwdpm_struct));
222222
if (!self) {
223223
return NULL;

0 commit comments

Comments
 (0)