mirror of
https://github.com/linux-usb-gadgets/libusbgx.git
synced 2025-07-20 05:15:05 +03:00
Rename the net class variables to class_
Using C++ keywords like "class" as variable names causes build failures when libusbgx is used in C++ projects. Reported-by: Thomas Moeller (@moether) Reported-in: https://github.com/linux-usb-gadgets/libusbgx/issues/65#issuecomment-1296790932 Fixes: commit4ca4a7699b
Fixes: commitefdd7a657c
This commit is contained in:
parent
efdd7a657c
commit
36e71e1e1e
3 changed files with 12 additions and 12 deletions
|
@ -67,7 +67,7 @@ static struct {
|
|||
[USBG_F_NET_HOST_ADDR] = NET_ETHER_ADDR_ATTR(host_addr),
|
||||
[USBG_F_NET_IFNAME] = NET_RO_STRING_ATTR(ifname),
|
||||
[USBG_F_NET_QMULT] = NET_DEC_ATTR(qmult),
|
||||
[USBG_F_NET_CLASS] = NET_DEC_ATTR(class),
|
||||
[USBG_F_NET_CLASS] = NET_DEC_ATTR(class_),
|
||||
[USBG_F_NET_SUBCLASS] = NET_DEC_ATTR(subclass),
|
||||
[USBG_F_NET_PROTOCOL] = NET_DEC_ATTR(protocol)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue