summaryrefslogtreecommitdiff
path: root/src/shared/cgroup-show.h
diff options
context:
space:
mode:
authorShawn Landden <shawn@churchofgit.com>2013-11-18 07:58:43 -0800
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-11-18 20:28:54 -0500
commit05d3a176239c1dd67863c70a5b79d9bc14144ef6 (patch)
treeea288f8cd73c1cb071941e15427a6044f4d0c230 /src/shared/cgroup-show.h
parentd5d217eae1b3ba978c4ddd6a2ef2de4621329662 (diff)
use #pragma once instead of foo*foo define guards
Diffstat (limited to 'src/shared/cgroup-show.h')
-rw-r--r--src/shared/cgroup-show.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/shared/cgroup-show.h b/src/shared/cgroup-show.h
index 72bc8a650f..3146f56cad 100644
--- a/src/shared/cgroup-show.h
+++ b/src/shared/cgroup-show.h
@@ -1,7 +1,6 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
-#ifndef foocgroupshowhfoo
-#define foocgroupshowhfoo
+#pragma once
/***
This file is part of systemd.
@@ -32,5 +31,3 @@ int show_cgroup(const char *controller, const char *path, const char *prefix, un
int show_cgroup_and_extra_by_spec(const char *spec, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
int show_cgroup_and_extra(const char *controller, const char *path, const char *prefix, unsigned n_columns, bool kernel_threads, const pid_t extra_pids[], unsigned n_extra_pids, OutputFlags flags);
-
-#endif