X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/2d21ac55c334faf3a56e5634905ed6987fc787d4..5ba3f43ea354af8ad55bea84372a2bc834d8757c:/bsd/sys/lctx.h diff --git a/bsd/sys/lctx.h b/bsd/sys/lctx.h index fa374a0e8..e5205c632 100644 --- a/bsd/sys/lctx.h +++ b/bsd/sys/lctx.h @@ -1,23 +1,24 @@ /* - * $Id: lctx.h,v 1.1.6.2 2006/03/03 23:20:46 msteil Exp $ + * TODO: remove this file */ - #ifndef _SYS_LCTX_H_ #define _SYS_LCTX_H_ -#include - #ifndef KERNEL +#include /* errno, ENOSYS */ +#include /* pid_t */ static __inline pid_t getlcid(pid_t pid) { - return (syscall(SYS_getlcid, pid)); + errno = ENOSYS; + return -1; } static __inline int setlcid(pid_t pid, pid_t lcid) { - return (syscall(SYS_setlcid, pid, lcid)); + errno = ENOSYS; + return -1; } #endif