]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/sys/lctx.h
xnu-4570.1.46.tar.gz
[apple/xnu.git] / bsd / sys / lctx.h
index fa374a0e8de73d1febde53ea6e3c46cfa593424f..e5205c632e5b55e4f62e1a27cf654a533371ef2e 100644 (file)
@@ -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 <sys/syscall.h>
-
 #ifndef KERNEL
+#include <sys/errno.h> /* errno, ENOSYS */
+#include <sys/_types/_pid_t.h> /* 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