diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-23 19:19:11 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-23 21:05:28 +0100 |
commit | 8b169c0fc24cd63ab24a5389a93bf2151b0c28eb (patch) | |
tree | e71363a0f2a4c9f26db009acca23952f2ed8c2b6 /src/login | |
parent | f6b6892c49f961cffa2e3075f7884b4a77c443e5 (diff) |
build-sys: move core/build.h → shared/build.h
After all, pretty much all our tools include it, and it should hence be
shared.
Also move sysfs-show.h from core/ to login/, since it has no point to
exist in core.
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/sysfs-show.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/login/sysfs-show.h b/src/login/sysfs-show.h new file mode 100644 index 0000000000..9ffd129c48 --- /dev/null +++ b/src/login/sysfs-show.h @@ -0,0 +1,24 @@ +/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/ + +#pragma once + +/*** + This file is part of systemd. + + Copyright 2011 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 <http://www.gnu.org/licenses/>. +***/ + +int show_sysfs(const char *seat, const char *prefix, unsigned columns); |