summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-09-23 16:53:19 -0500
committerKay Sievers <kay@vrfy.org>2013-09-24 15:34:57 +0200
commit036ae95ac4a425475b58e1a8e53d5c52b2c8a218 (patch)
treecea9ba37e3e514c224b5d1a500180bc61e94f8f0 /src
parentfb8f3f986991e2ee249ee0d0b303f6123b709f43 (diff)
shared: device-nodes - add include guard
Diffstat (limited to 'src')
-rw-r--r--src/shared/device-nodes.c2
-rw-r--r--src/shared/device-nodes.h2
-rw-r--r--src/shared/utf8.c3
3 files changed, 5 insertions, 2 deletions
diff --git a/src/shared/device-nodes.c b/src/shared/device-nodes.c
index 986553e93f..9837375099 100644
--- a/src/shared/device-nodes.c
+++ b/src/shared/device-nodes.c
@@ -3,7 +3,7 @@
/***
This file is part of systemd.
- Copyright 2012 Lennart Poettering
+ Copyright 2008-2011 Kay Sievers
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
diff --git a/src/shared/device-nodes.h b/src/shared/device-nodes.h
index a98195afa9..04ba4897e5 100644
--- a/src/shared/device-nodes.h
+++ b/src/shared/device-nodes.h
@@ -1,5 +1,7 @@
/*-*- Mode: C; c-basic-offset: 8; indent-tabs-mode: nil -*-*/
+#pragma once
+
/***
This file is part of systemd.
diff --git a/src/shared/utf8.c b/src/shared/utf8.c
index c3d97cc783..a8e28accd3 100644
--- a/src/shared/utf8.c
+++ b/src/shared/utf8.c
@@ -3,6 +3,7 @@
/***
This file is part of systemd.
+ Copyright 2008-2011 Kay Sievers
Copyright 2012 Lennart Poettering
systemd is free software; you can redistribute it and/or modify it
@@ -19,7 +20,7 @@
along with systemd; If not, see <http://www.gnu.org/licenses/>.
***/
-/* This file is based on the GLIB utf8 validation functions. The
+/* Parts of this file are based on the GLIB utf8 validation functions. The
* original license text follows. */
/* gutf8.c - Operations on UTF-8 strings.