summaryrefslogtreecommitdiffstats
path: root/src/udev/udevd.h
diff options
context:
space:
mode:
authorNorbert Lange <nolange79@gmail.com>2020-05-26 10:26:12 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-06-01 09:41:21 +0200
commit63e2d1714eedf884ebd9dd865a9dae8ae670d074 (patch)
treef16d1b52337cbbf511a06f96231fae470a5b2623 /src/udev/udevd.h
parentnetwork: fix double free in macsec_receive_channel_free() (diff)
downloadsystemd-63e2d1714eedf884ebd9dd865a9dae8ae670d074.tar.xz
systemd-63e2d1714eedf884ebd9dd865a9dae8ae670d074.zip
udev: single binary replacing udevd and udevadm
Since the separate binaries contain mostly the same code, this almost halves the size of the installation. before: 398K /bin/udevadm 391K /lib/systemd/systemd-udevd after: 431K /bin/udevadm 0 /lib/systemd/systemd-udevd -> ../../bin/udevadm Fixes: #14200
Diffstat (limited to 'src/udev/udevd.h')
-rw-r--r--src/udev/udevd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udev/udevd.h b/src/udev/udevd.h
new file mode 100644
index 0000000000..848ffc245b
--- /dev/null
+++ b/src/udev/udevd.h
@@ -0,0 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+#pragma once
+
+int run_udevd(int argc, char *argv[]);