diff --git a/include/os.h b/include/os.h index 4b4a896ab..f5beb6a94 100644 --- a/include/os.h +++ b/include/os.h @@ -320,9 +320,6 @@ OsAbort(void) extern _X_EXPORT Bool PrivsElevated(void); -extern _X_EXPORT int -ChangeAccessControl(ClientPtr /*client */ , int /*fEnabled */ ); - extern _X_EXPORT int GetClientFd(ClientPtr); diff --git a/os/auth.h b/os/auth.h index a4f096887..a05198f05 100644 --- a/os/auth.h +++ b/os/auth.h @@ -107,4 +107,6 @@ void DefineSelf(int fd); /* check whether given addr belongs to ourself */ void AugmentSelf(void *from, int len); +int ChangeAccessControl(ClientPtr client, int fEnabled); + #endif /* _XSERVER_OS_AUTH_H */