diff options
author | Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com> | 2023-11-08 10:46:22 +0100 |
---|---|---|
committer | P-E-P <32375388+P-E-P@users.noreply.github.com> | 2023-11-14 18:27:16 +0000 |
commit | 7582c73ba8513d64773aed7fb54cb4970e7cfe6d (patch) | |
tree | ea4ccba7fa72a12c218c05e06dec86075950e25d /gcc | |
parent | 0789030ed463d0f0d7b5dcee2b598e1d8014bce0 (diff) | |
download | gcc-7582c73ba8513d64773aed7fb54cb4970e7cfe6d.zip gcc-7582c73ba8513d64773aed7fb54cb4970e7cfe6d.tar.gz gcc-7582c73ba8513d64773aed7fb54cb4970e7cfe6d.tar.bz2 |
Add licence text and change header guard name
This file was missing a licence text and it's header guard was not
matching the file name.
gcc/rust/ChangeLog:
* util/rust-attribute-values.h (RUST_ATTRIBUTES_VALUE_H): Remove old
header guard.
(RUST_ATTRIBUTE_VALUES_H): Add new one.
Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/util/rust-attribute-values.h | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/gcc/rust/util/rust-attribute-values.h b/gcc/rust/util/rust-attribute-values.h index 513550a..b8994da 100644 --- a/gcc/rust/util/rust-attribute-values.h +++ b/gcc/rust/util/rust-attribute-values.h @@ -1,5 +1,23 @@ -#ifndef RUST_ATTRIBUTES_VALUE_H -#define RUST_ATTRIBUTES_VALUE_H +// Copyright (C) 2020-2023 Free Software Foundation, Inc. + +// This file is part of GCC. + +// GCC is free software; you can redistribute it and/or modify it under +// the terms of the GNU General Public License as published by the Free +// Software Foundation; either version 3, or (at your option) any later +// version. + +// GCC 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 General Public License +// for more details. + +// You should have received a copy of the GNU General Public License +// along with GCC; see the file COPYING3. If not see +// <http://www.gnu.org/licenses/>. + +#ifndef RUST_ATTRIBUTE_VALUES_H +#define RUST_ATTRIBUTE_VALUES_H namespace Rust { namespace Values { @@ -37,4 +55,4 @@ public: } // namespace Values } // namespace Rust -#endif /* !RUST_ATTRIBUTES_VALUE_H */ +#endif /* !RUST_ATTRIBUTE_VALUES_H */ |