]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libudev/libudev-device-internal.h
libudev: use DEFINE_PUBLIC_TRIVIAL_REF_UNREF_FUNC() macro where applicable
[thirdparty/systemd.git] / src / libudev / libudev-device-internal.h
index 45763f2c99857658f0a6286a843174d457ac239b..974601f79f40aca04ae023707fb820e1fddc7190 100644 (file)
@@ -18,7 +18,7 @@ struct udev_device {
         sd_device *device;
 
         /* legacy */
-        int refcount;
+        unsigned n_ref;
 
         struct udev_device *parent;
         bool parent_set;