summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-usb_id.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-03-09 00:07:44 +0100
committerLennart Poettering <lennart@poettering.net>2015-03-09 18:02:22 +0100
commit885fdebc13b13307555e4b837fae604bcc4e72b4 (patch)
treee9159e91fd69d36a80aa10f927563583a49dbfdf /src/udev/udev-builtin-usb_id.c
parentdb93e063bdffe0a8b95fcc522aeacddf62d1a9f9 (diff)
tree-wide: use _packed_ macro instead of raw gcc __attribute__
Diffstat (limited to 'src/udev/udev-builtin-usb_id.c')
-rw-r--r--src/udev/udev-builtin-usb_id.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-usb_id.c b/src/udev/udev-builtin-usb_id.c
index ab0d96e377..264ff5d6f7 100644
--- a/src/udev/udev-builtin-usb_id.c
+++ b/src/udev/udev-builtin-usb_id.c
@@ -162,7 +162,7 @@ static int dev_if_packed_info(struct udev_device *dev, char *ifs_str, size_t len
u_int8_t bInterfaceSubClass;
u_int8_t bInterfaceProtocol;
u_int8_t iInterface;
- } __attribute__((packed));
+ } _packed_;
if (asprintf(&filename, "%s/descriptors", udev_device_get_syspath(dev)) < 0)
return log_oom();