From 416693175bc317ef3fa4963af51a5ee077320d09 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 21 May 2012 19:33:39 +0200 Subject: switch-root: move switch_root() call into its own .c file --- src/core/switch-root.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/core/switch-root.h (limited to 'src/core/switch-root.h') diff --git a/src/core/switch-root.h b/src/core/switch-root.h new file mode 100644 index 0000000000..0c4cd1e403 --- /dev/null +++ b/src/core/switch-root.h @@ -0,0 +1,27 @@ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ + +#ifndef fooswitchroothfoo +#define fooswitchroothfoo + +/*** + This file is part of systemd. + + Copyright 2012 Harald Hoyer, Lennart Poettering + + systemd is free software; you can redistribute it and/or modify it + under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2.1 of the License, or + (at your option) any later version. + + systemd is distributed in the hope that it will be useful, but + WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with systemd; If not, see . +***/ + +int switch_root(const char *switch_root); + +#endif -- cgit v1.2.3-54-g00ecf