X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/5ba3f43ea354af8ad55bea84372a2bc834d8757c..a991bd8d3e7fe02dbca0644054bab73c5b75324a:/libsyscall/wrappers/quota_obsolete.c diff --git a/libsyscall/wrappers/quota_obsolete.c b/libsyscall/wrappers/quota_obsolete.c index aa566c0c6..ac235cbe4 100644 --- a/libsyscall/wrappers/quota_obsolete.c +++ b/libsyscall/wrappers/quota_obsolete.c @@ -25,7 +25,7 @@ #include #include -#if !TARGET_OS_EMBEDDED +#if !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) /* * system call stubs are no longer generated for these from * syscalls.master. Instead, provide simple stubs here. @@ -34,13 +34,15 @@ extern int quota(void); extern int setquota(void); -int quota(void) +int +quota(void) { return kill(getpid(), SIGSYS); } -int setquota(void) +int +setquota(void) { return kill(getpid(), SIGSYS); } -#endif /* !TARGET_OS_EMBEDDED */ +#endif /* !(TARGET_OS_IPHONE && !TARGET_OS_SIMULATOR) */