summaryrefslogtreecommitdiff
path: root/xserver/os/rpcauth.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2007-12-13 21:48:05 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2007-12-13 21:48:05 +0000
commit72f22d3456b770a62451accbd40140ed01c724dd (patch)
tree91f718cc6fc4e0470e7fdca1f864bfce2d4c5c66 /xserver/os/rpcauth.c
parent9d9974342d6f6f79659f805b9b69fda1a4fbd881 (diff)
Merge xserver 1.4.0.90. This includes fixes for some of the regressions
introduced by xserver 1.4, such as the keyboad caps/num-lock leds updates. Tested by many.
Diffstat (limited to 'xserver/os/rpcauth.c')
-rw-r--r--xserver/os/rpcauth.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/xserver/os/rpcauth.c b/xserver/os/rpcauth.c
index b19a263d5..ac54b43ed 100644
--- a/xserver/os/rpcauth.c
+++ b/xserver/os/rpcauth.c
@@ -39,7 +39,7 @@ from The Open Group.
#ifdef SECURE_RPC
#include <X11/X.h>
-#include "Xauth.h"
+#include <X11/Xauth.h>
#include "misc.h"
#include "os.h"
#include "dixstruct.h"
@@ -135,7 +135,7 @@ CheckNetName (
static char rpc_error[MAXNETNAMELEN+50];
-XID
+_X_HIDDEN XID
SecureRPCCheck (unsigned short data_length, char *data,
ClientPtr client, char **reason)
{
@@ -161,14 +161,14 @@ SecureRPCCheck (unsigned short data_length, char *data,
return (XID) ~0L;
}
-void
+_X_HIDDEN void
SecureRPCInit (void)
{
if (rpc_id == ~0L)
AddAuthorization (9, "SUN-DES-1", 0, (char *) 0);
}
-int
+_X_HIDDEN int
SecureRPCAdd (unsigned short data_length, char *data, XID id)
{
if (data_length)
@@ -177,26 +177,26 @@ SecureRPCAdd (unsigned short data_length, char *data, XID id)
return 1;
}
-int
+_X_HIDDEN int
SecureRPCReset (void)
{
rpc_id = (XID) ~0L;
return 1;
}
-XID
+_X_HIDDEN XID
SecureRPCToID (unsigned short data_length, char *data)
{
return rpc_id;
}
-int
+_X_HIDDEN int
SecureRPCFromID (XID id, unsigned short *data_lenp, char **datap)
{
return 0;
}
-int
+_X_HIDDEN int
SecureRPCRemove (unsigned short data_length, char *data)
{
return 0;