From 036ae95ac4a425475b58e1a8e53d5c52b2c8a218 Mon Sep 17 00:00:00 2001 From: Kay Sievers Date: Mon, 23 Sep 2013 16:53:19 -0500 Subject: [PATCH] shared: device-nodes - add include guard --- src/shared/device-nodes.c | 2 +- src/shared/device-nodes.h | 2 ++ src/shared/utf8.c | 3 ++- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/shared/device-nodes.c b/src/shared/device-nodes.c index 986553e93..983737509 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 a98195afa..04ba4897e 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 c3d97cc78..a8e28accd 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 . ***/ -/* 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. -- 2.30.2