From 8f0e73f250f4a397ea07d29a339bd7e64d077612 Mon Sep 17 00:00:00 2001 From: Dave Reisner Date: Tue, 14 Aug 2012 20:00:30 -0400 Subject: dev-setup: allow a path prefix for use in chroots With this adjustment, we can reuse this code elsewhere, such as in nspawn. --- src/shared/dev-setup.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/shared/dev-setup.h') 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 . ***/ -void dev_setup(void); - -#endif +void dev_setup(const char *pathprefix); -- cgit v1.2.3