summaryrefslogtreecommitdiff
path: root/src/login/sysfs-show.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/sysfs-show.h')
-rw-r--r--src/login/sysfs-show.h22
1 files changed, 4 insertions, 18 deletions
diff --git a/src/login/sysfs-show.h b/src/login/sysfs-show.h
index 3e94bc3ed..c05b97753 100644
--- a/src/login/sysfs-show.h
+++ b/src/login/sysfs-show.h
@@ -1,22 +1,8 @@
+/* SPDX-License-Identifier: LGPL-2.1+ */
#pragma once
-/***
- This file is part of systemd.
+#include <sys/types.h>
- Copyright 2011 Lennart Poettering
+#include "output-mode.h"
- 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);
+int show_sysfs(const char *seat, const char *prefix, unsigned columns, OutputFlags flags);