mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 03:44:06 +00:00
treewide: replace xnfstrdup() calls by XNFstrdup()
This has been nothing but an alias for two decades now (somewhere in R6.6), so there doesn't seem to be any practical need for this indirection. The macro still needs to remain, as long as (external) drivers still using it. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net> Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1529>
This commit is contained in:
committed by
Marge Bot
parent
f446235b71
commit
dec57e5796
10
test/input.c
10
test/input.c
@@ -1214,27 +1214,27 @@ dix_input_attributes(void)
|
||||
assert(memcmp(orig, new, sizeof(InputAttributes)) == 0);
|
||||
FreeInputAttributes(new);
|
||||
|
||||
orig->product = xnfstrdup("product name");
|
||||
orig->product = XNFstrdup("product name");
|
||||
new = DuplicateInputAttributes(orig);
|
||||
cmp_attr_fields(orig, new);
|
||||
FreeInputAttributes(new);
|
||||
|
||||
orig->vendor = xnfstrdup("vendor name");
|
||||
orig->vendor = XNFstrdup("vendor name");
|
||||
new = DuplicateInputAttributes(orig);
|
||||
cmp_attr_fields(orig, new);
|
||||
FreeInputAttributes(new);
|
||||
|
||||
orig->device = xnfstrdup("device path");
|
||||
orig->device = XNFstrdup("device path");
|
||||
new = DuplicateInputAttributes(orig);
|
||||
cmp_attr_fields(orig, new);
|
||||
FreeInputAttributes(new);
|
||||
|
||||
orig->pnp_id = xnfstrdup("PnPID");
|
||||
orig->pnp_id = XNFstrdup("PnPID");
|
||||
new = DuplicateInputAttributes(orig);
|
||||
cmp_attr_fields(orig, new);
|
||||
FreeInputAttributes(new);
|
||||
|
||||
orig->usb_id = xnfstrdup("USBID");
|
||||
orig->usb_id = XNFstrdup("USBID");
|
||||
new = DuplicateInputAttributes(orig);
|
||||
cmp_attr_fields(orig, new);
|
||||
FreeInputAttributes(new);
|
||||
|
||||
Reference in New Issue
Block a user