xserver: Branch 'master'
Adam Jackson
ajax at kemper.freedesktop.org
Wed Oct 8 13:23:08 PDT 2008
hw/dmx/input/lnx-keyboard.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 4fe80aa14a24df6d0611c47fc5654c3c4f56fdb1
Author: Adam Jackson <ajax at redhat.com>
Date: Wed Oct 8 16:22:35 2008 -0400
I hate you xlib. Please die in a fire.
diff --git a/hw/dmx/input/lnx-keyboard.c b/hw/dmx/input/lnx-keyboard.c
index c5dada9..55ff9f8 100644
--- a/hw/dmx/input/lnx-keyboard.c
+++ b/hw/dmx/input/lnx-keyboard.c
@@ -358,7 +358,7 @@ static unsigned char at2lnx[NUM_KEYCODES] =
/** Create a private structure for use within this file. */
pointer kbdLinuxCreatePrivate(DeviceIntPtr pKeyboard)
{
- myPrivate *priv = xcalloc(1, sizeof(*priv));
+ myPrivate *priv = calloc(1, sizeof(*priv));
priv->fd = -1;
priv->pKeyboard = pKeyboard;
return priv;
@@ -367,7 +367,7 @@ pointer kbdLinuxCreatePrivate(DeviceIntPtr pKeyboard)
/** Destroy a private structure. */
void kbdLinuxDestroyPrivate(pointer priv)
{
- if (priv) xfree(priv);
+ if (priv) free(priv);
}
/** Ring the bell.
More information about the xorg-commit
mailing list