summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/acl-util.c2
-rw-r--r--src/shared/acl-util.h2
-rw-r--r--src/shared/bus-util.c2
-rw-r--r--src/shared/bus-util.h2
-rw-r--r--src/shared/clean-ipc.c2
-rw-r--r--src/shared/clean-ipc.h2
-rw-r--r--src/shared/conf-parser.c3
-rw-r--r--src/shared/conf-parser.h2
-rw-r--r--src/shared/nsflags.c2
-rw-r--r--src/shared/nsflags.h2
-rw-r--r--src/shared/output-mode.c2
-rw-r--r--src/shared/output-mode.h2
-rw-r--r--src/shared/sleep-config.c2
-rw-r--r--src/shared/sleep-config.h5
-rw-r--r--src/shared/spawn-polkit-agent.c2
-rw-r--r--src/shared/spawn-polkit-agent.h2
-rw-r--r--src/shared/test-tables.h2
-rw-r--r--src/shared/udev-util.c2
-rw-r--r--src/shared/udev-util.h2
-rw-r--r--src/shared/utmp-wtmp.c2
-rw-r--r--src/shared/utmp-wtmp.h2
21 files changed, 4 insertions, 42 deletions
diff --git a/src/shared/acl-util.c b/src/shared/acl-util.c
index e6360335d..103c010ec 100644
--- a/src/shared/acl-util.c
+++ b/src/shared/acl-util.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2011,2013 Lennart Poettering
***/
diff --git a/src/shared/acl-util.h b/src/shared/acl-util.h
index 9aa37287d..683119128 100644
--- a/src/shared/acl-util.h
+++ b/src/shared/acl-util.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2011 Lennart Poettering
***/
diff --git a/src/shared/bus-util.c b/src/shared/bus-util.c
index d2768d62b..5865b193c 100644
--- a/src/shared/bus-util.c
+++ b/src/shared/bus-util.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2013 Lennart Poettering
***/
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index 49038f5e0..ac1b79c56 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2013 Lennart Poettering
***/
diff --git a/src/shared/clean-ipc.c b/src/shared/clean-ipc.c
index 3e30877c0..844dc9db9 100644
--- a/src/shared/clean-ipc.c
+++ b/src/shared/clean-ipc.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2014 Lennart Poettering
***/
diff --git a/src/shared/clean-ipc.h b/src/shared/clean-ipc.h
index 9f0806e44..963765637 100644
--- a/src/shared/clean-ipc.h
+++ b/src/shared/clean-ipc.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2014 Lennart Poettering
***/
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c
index a150f8940..9116cc8dd 100644
--- a/src/shared/conf-parser.c
+++ b/src/shared/conf-parser.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2010 Lennart Poettering
***/
@@ -51,6 +49,7 @@
//#include "rlimit-util.h"
//#include "rlimit-util.h"
//#include "rlimit-util.h"
+//#include "rlimit-util.h"
int config_item_table_lookup(
const void *table,
diff --git a/src/shared/conf-parser.h b/src/shared/conf-parser.h
index 64e7f8aab..3c78c4044 100644
--- a/src/shared/conf-parser.h
+++ b/src/shared/conf-parser.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2010 Lennart Poettering
***/
diff --git a/src/shared/nsflags.c b/src/shared/nsflags.c
index ae1afc829..3bea3447a 100644
--- a/src/shared/nsflags.c
+++ b/src/shared/nsflags.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2016 Lennart Poettering
***/
diff --git a/src/shared/nsflags.h b/src/shared/nsflags.h
index 509a3240c..86daeaa73 100644
--- a/src/shared/nsflags.h
+++ b/src/shared/nsflags.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2016 Lennart Poettering
***/
diff --git a/src/shared/output-mode.c b/src/shared/output-mode.c
index 1bb161794..e1d7bbfa2 100644
--- a/src/shared/output-mode.c
+++ b/src/shared/output-mode.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2012 Lennart Poettering
***/
diff --git a/src/shared/output-mode.h b/src/shared/output-mode.h
index a44d52867..84f78fe2f 100644
--- a/src/shared/output-mode.h
+++ b/src/shared/output-mode.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2013 Lennart Poettering
***/
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c
index 68dee9ef3..d35c34c47 100644
--- a/src/shared/sleep-config.c
+++ b/src/shared/sleep-config.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2013 Zbigniew Jędrzejewski-Szmek
Copyright 2018 Dell Inc.
***/
diff --git a/src/shared/sleep-config.h b/src/shared/sleep-config.h
index ecce5f6e4..867a7a500 100644
--- a/src/shared/sleep-config.h
+++ b/src/shared/sleep-config.h
@@ -2,15 +2,16 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2013 Zbigniew Jędrzejewski-Szmek
***/
#if 0 /// UNNEEDED by elogind
+//#include <linux/fiemap.h>
//#include "time-util.h"
+int read_fiemap(int fd, struct fiemap **ret);
int parse_sleep_config(const char *verb, char ***modes, char ***states, usec_t *delay);
+int find_hibernate_location(char **device, char **type, size_t *size, size_t *used);
int can_sleep(const char *verb);
int can_sleep_disk(char **types);
diff --git a/src/shared/spawn-polkit-agent.c b/src/shared/spawn-polkit-agent.c
index 062e0210c..03a1faf68 100644
--- a/src/shared/spawn-polkit-agent.c
+++ b/src/shared/spawn-polkit-agent.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2011 Lennart Poettering
***/
diff --git a/src/shared/spawn-polkit-agent.h b/src/shared/spawn-polkit-agent.h
index c4316ea47..cf4a47360 100644
--- a/src/shared/spawn-polkit-agent.h
+++ b/src/shared/spawn-polkit-agent.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2012 Lennart Poettering
***/
diff --git a/src/shared/test-tables.h b/src/shared/test-tables.h
index 59c2c06ec..6a376e6aa 100644
--- a/src/shared/test-tables.h
+++ b/src/shared/test-tables.h
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd
-
Copyright 2013 Zbigniew Jędrzejewski-Szmek
***/
diff --git a/src/shared/udev-util.c b/src/shared/udev-util.c
index b031353c5..8d973a0ce 100644
--- a/src/shared/udev-util.c
+++ b/src/shared/udev-util.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2017 Zbigniew Jędrzejewski-Szmek
***/
diff --git a/src/shared/udev-util.h b/src/shared/udev-util.h
index b91b412b8..d28014fe5 100644
--- a/src/shared/udev-util.h
+++ b/src/shared/udev-util.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2013 Zbigniew Jędrzejewski-Szmek
***/
diff --git a/src/shared/utmp-wtmp.c b/src/shared/utmp-wtmp.c
index 5ecc23f6e..1d58a5a2e 100644
--- a/src/shared/utmp-wtmp.c
+++ b/src/shared/utmp-wtmp.c
@@ -1,7 +1,5 @@
/* SPDX-License-Identifier: LGPL-2.1+ */
/***
- This file is part of systemd.
-
Copyright 2010 Lennart Poettering
***/
diff --git a/src/shared/utmp-wtmp.h b/src/shared/utmp-wtmp.h
index 23cb03b31..1b7e7eace 100644
--- a/src/shared/utmp-wtmp.h
+++ b/src/shared/utmp-wtmp.h
@@ -2,8 +2,6 @@
#pragma once
/***
- This file is part of systemd.
-
Copyright 2010 Lennart Poettering
***/