summaryrefslogtreecommitdiffstats
path: root/src/udev/udev-builtin-btrfs.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-04-25 01:21:11 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-06-02 07:15:26 +0200
commit25de7aa7b90c23d33ea50ada1e50c5834a414237 (patch)
tree82a7c5095193da13becc2fe9e83c64801045ae35 /src/udev/udev-builtin-btrfs.c
parentutil: introduce strnpcpy() and strnscpy() (diff)
downloadsystemd-25de7aa7b90c23d33ea50ada1e50c5834a414237.tar.xz
systemd-25de7aa7b90c23d33ea50ada1e50c5834a414237.zip
udev: modernize udev-rules.c
This does the following: - rename enum udev_builtin_cmd -> UdevBuiltinCmd - rename struct udev_builtin -> UdevBuiltin - move type definitions to udev-rules.h - move prototypes of functions defined in udev-rules.c to udev-rules.h - drop to use strbuf - propagate critical errors in applying rules, - drop limitation for number of tokens per line.
Diffstat (limited to 'src/udev/udev-builtin-btrfs.c')
-rw-r--r--src/udev/udev-builtin-btrfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udev/udev-builtin-btrfs.c b/src/udev/udev-builtin-btrfs.c
index 6a69dae3af..1f0073e5cd 100644
--- a/src/udev/udev-builtin-btrfs.c
+++ b/src/udev/udev-builtin-btrfs.c
@@ -33,7 +33,7 @@ static int builtin_btrfs(sd_device *dev, int argc, char *argv[], bool test) {
return 0;
}
-const struct udev_builtin udev_builtin_btrfs = {
+const UdevBuiltin udev_builtin_btrfs = {
.name = "btrfs",
.cmd = builtin_btrfs,
.help = "btrfs volume management",