This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Remove #endif labels from objc headers
- To: gcc-patches at gcc dot gnu dot org
- Subject: Remove #endif labels from objc headers
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Wed, 29 Mar 2000 12:16:37 -0800
- Cc: obrien at nuxi dot org
I've applied the appended patch to the mainline and the 2.95 branch.
It removes #endif labels from a couple of libobjc's headers. This is
not very important for the mainline, but the 2.95 branch's
preprocessor will reject those labels in -ansi mode.
Change requested by David O'Brien.
zw
2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
* objc/Protocol.h, objc/objc-list.h: Change #endif labels to
comments.
===================================================================
Index: objc/Protocol.h
--- objc/Protocol.h 1999/09/04 15:09:20 1.2
+++ objc/Protocol.h 2000/03/29 20:16:17
@@ -55,4 +55,4 @@ Boston, MA 02111-1307, USA. */
-#endif __Protocol_INCLUDE_GNU
+#endif /* not __Protocol_INCLUDE_GNU */
===================================================================
Index: objc/objc-list.h
--- objc/objc-list.h 1999/09/04 15:09:20 1.2
+++ objc/objc-list.h 2000/03/29 20:16:17
@@ -144,4 +144,4 @@ list_free(struct objc_list* list)
objc_free(list);
}
}
-#endif __GNU_OBJC_LIST_H
+#endif /* not __GNU_OBJC_LIST_H */