diff options
author | marha <marha@users.sourceforge.net> | 2010-06-14 13:15:50 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2010-06-14 13:15:50 +0000 |
commit | e2eb44705a8e4886d81b75c12e68aaebe9946439 (patch) | |
tree | 00639c4f594cdaf4cb08d30dfdb4d4a4e38bc16c /xorg-server/hw/kdrive/src/kinput.c | |
parent | 2dc9ef67a51796a1e25bd31eb58663a8023ddd80 (diff) | |
parent | 0cf9b03f4990f61640dc35dfac250f929b57b4ed (diff) | |
download | vcxsrv-e2eb44705a8e4886d81b75c12e68aaebe9946439.tar.gz vcxsrv-e2eb44705a8e4886d81b75c12e68aaebe9946439.tar.bz2 vcxsrv-e2eb44705a8e4886d81b75c12e68aaebe9946439.zip |
svn merge ^/branches/released .
Diffstat (limited to 'xorg-server/hw/kdrive/src/kinput.c')
-rw-r--r-- | xorg-server/hw/kdrive/src/kinput.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xorg-server/hw/kdrive/src/kinput.c b/xorg-server/hw/kdrive/src/kinput.c index d1b12b890..5b17163da 100644 --- a/xorg-server/hw/kdrive/src/kinput.c +++ b/xorg-server/hw/kdrive/src/kinput.c @@ -942,7 +942,7 @@ KdAddConfigKeyboard (char *keyboard) if (!new)
return BadAlloc;
- new->line = xstrdup(keyboard);
+ new->line = strdup(keyboard);
new->next = NULL;
for (prev = &kdConfigKeyboards; *prev; prev = &(*prev)->next);
@@ -1010,7 +1010,7 @@ KdAddConfigPointer (char *pointer) if (!new)
return BadAlloc;
- new->line = xstrdup(pointer);
+ new->line = strdup(pointer);
new->next = NULL;
for (prev = &kdConfigPointers; *prev; prev = &(*prev)->next);
@@ -1090,11 +1090,11 @@ KdGetOptions (InputOption **options, char *string) newopt->key = (char *)malloc(tam_key);
strncpy(newopt->key, string, tam_key);
newopt->key[tam_key] = '\0';
- newopt->value = xstrdup(strchr(string, '=') + 1);
+ newopt->value = strdup(strchr(string, '=') + 1);
}
else
{
- newopt->key = xstrdup(string);
+ newopt->key = strdup(string);
newopt->value = NULL;
}
newopt->next = NULL;
@@ -1170,7 +1170,7 @@ KdParseKeyboard (char *arg) if (strcmp (save, "auto") == 0)
ki->driverPrivate = NULL;
else
- ki->driverPrivate = xstrdup(save);
+ ki->driverPrivate = strdup(save);
if (delim != ',')
{
@@ -1266,7 +1266,7 @@ KdParsePointer (char *arg) if (strcmp(save, "auto") == 0)
pi->driverPrivate = NULL;
else
- pi->driverPrivate = xstrdup(save);
+ pi->driverPrivate = strdup(save);
if (delim != ',')
{
|