X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/0abb2a2f9d5b1c7fbe7a43619bab5291d7e55f87..2c4a8bb6222b88ff96fbf25372179646ce15f706:/Console.cpp?ds=sidebyside diff --git a/Console.cpp b/Console.cpp index c3ebd77..2f24e58 100644 --- a/Console.cpp +++ b/Console.cpp @@ -874,9 +874,7 @@ int Main(int argc, char * const argv[], char const * const envp[]) { append_history$ = (int (*)(int, const char *)) (dlsym(RTLD_DEFAULT, "append_history")); -#ifdef CY_ATTACH pid_t pid(_not(pid_t)); -#endif const char *host(NULL); const char *port(NULL); @@ -890,18 +888,14 @@ int Main(int argc, char * const argv[], char const * const envp[]) { "c" "g:" "n:" -#ifdef CY_ATTACH "p:" -#endif "r:" "s" , (const struct option[]) { {NULL, no_argument, NULL, 'c'}, {NULL, required_argument, NULL, 'g'}, {NULL, required_argument, NULL, 'n'}, -#ifdef CY_ATTACH {NULL, required_argument, NULL, 'p'}, -#endif {NULL, required_argument, NULL, 'r'}, {NULL, no_argument, NULL, 's'}, {0, 0, 0, 0}}, NULL)); @@ -914,9 +908,7 @@ int Main(int argc, char * const argv[], char const * const envp[]) { case '?': fprintf(stderr, "usage: cycript [-c]" -#ifdef CY_ATTACH " [-p ]" -#endif " [-r ]" " [