summaryrefslogtreecommitdiffstats
path: root/src/shared/dev-setup.h
diff options
context:
space:
mode:
authorDave Reisner <dreisner@archlinux.org>2012-08-15 02:00:30 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-21 17:19:35 +0200
commit8f0e73f250f4a397ea07d29a339bd7e64d077612 (patch)
tree7e2c29db498f9ad706d36bff595372f7812d9844 /src/shared/dev-setup.h
parentupdate TODO (diff)
downloadsystemd-8f0e73f250f4a397ea07d29a339bd7e64d077612.tar.xz
systemd-8f0e73f250f4a397ea07d29a339bd7e64d077612.zip
dev-setup: allow a path prefix for use in chroots
With this adjustment, we can reuse this code elsewhere, such as in nspawn.
Diffstat (limited to 'src/shared/dev-setup.h')
-rw-r--r--src/shared/dev-setup.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/shared/dev-setup.h b/src/shared/dev-setup.h
index 58507587d4..320c0b30ba 100644
--- a/src/shared/dev-setup.h
+++ b/src/shared/dev-setup.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foodevsetuphfoo
-#define foodevsetuphfoo
+#pragma once
/***
This file is part of systemd.
@@ -22,6 +21,4 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-void dev_setup(void);
-
-#endif
+void dev_setup(const char *pathprefix);