aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJerry Quinn <jlquinn@optonline.net>2004-06-11 05:31:09 +0000
committerJerry Quinn <jlquinn@gcc.gnu.org>2004-06-11 05:31:09 +0000
commit5801c4671e1109119701047bdd6ba833d622c95d (patch)
tree5c2dcec1320a33354569972cf8ae0405f81d662e
parent3bcb4e37d15296c7aad59f8591876ccfa28f6c31 (diff)
downloadgcc-5801c4671e1109119701047bdd6ba833d622c95d.zip
gcc-5801c4671e1109119701047bdd6ba833d622c95d.tar.gz
gcc-5801c4671e1109119701047bdd6ba833d622c95d.tar.bz2
typeclass.h: Add GPL plus exception license.
2004-06-11 Jerry Quinn <jlquinn@optonline.net> * typeclass.h: Add GPL plus exception license. Add include guard. From-SVN: r82960
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/typeclass.h32
2 files changed, 37 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9628c84..f9b6182 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-06-11 Jerry Quinn <jlquinn@optonline.net>
+
+ * typeclass.h: Add GPL plus exception license. Add include
+ guard.
+
2004-06-10 Jason Merrill <jason@redhat.com>
* gimplify.c (gimplify_modify_expr): Don't force a temporary
diff --git a/gcc/typeclass.h b/gcc/typeclass.h
index b166042..067a135 100644
--- a/gcc/typeclass.h
+++ b/gcc/typeclass.h
@@ -1,3 +1,33 @@
+/* Type class enum
+ Copyright (C) 2004 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 2, 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 COPYING. If not, write to the Free
+Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+02111-1307, USA. */
+
+/* As a special exception, if you link this library with other files,
+ some of which are compiled with GCC, to produce an executable,
+ this library does not by itself cause the resulting executable
+ to be covered by the GNU General Public License.
+ This exception does not however invalidate any other reasons why
+ the executable file might be covered by the GNU General Public License. */
+
+#ifndef GCC_TYPECLASS_H
+#define GCC_TYPECLASS_H
+
/* Values returned by __builtin_classify_type. */
enum type_class
@@ -12,3 +42,5 @@ enum type_class
array_type_class, string_type_class, set_type_class, file_type_class,
lang_type_class
};
+
+#endif /* GCC_TYPECLASS_H */