This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch] Minor improvement to typeclass.h
- From: Jerry Quinn <jlquinn at optonline dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 05 Jun 2004 16:29:28 -0400
- Subject: [patch] Minor improvement to typeclass.h
2004-06-05 Jerry Quinn <jlquinn@optonline.net>
* typeclass.h: Add license and include guard.
--- typeclass.h.~1.3.~ 1998-12-16 15:58:40.000000000 -0500
+++ typeclass.h 2004-05-24 21:31:31.000000000 -0400
@@ -1,3 +1,26 @@
+/* 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. */
+
+#ifndef GCC_TYPECLASS_H
+#define GCC_TYPECLASS_H
+
/* Values returned by __builtin_classify_type. */
enum type_class
@@ -12,3 +35,5 @@
array_type_class, string_type_class, set_type_class, file_type_class,
lang_type_class
};
+
+#endif /* GCC_TYPECLASS_H */