[PATCH] fix some #endif comments

Warren Turkal wt@midsouth.rr.com
Mon, 01 Mar 2004 07:34:23 -0600


This patch fixes some misspellings in #endif comments and gets rid of the
notices to not add anything after a final #endif in headers, which I think
any competent programmer knows not to do anyhow. Please review.

Thanks, wt

Index: include/X11/Xresource.h
===================================================================
--- include/X11/Xresource.h     (revision 4)
+++ include/X11/Xresource.h     (working copy)
@@ -355,4 +355,3 @@
 _XFUNCPROTOEND
 
 #endif /* _XRESOURCE_H_ */
-/* DON'T ADD STUFF AFTER THIS #endif */
Index: include/X11/region.h
===================================================================
--- include/X11/region.h        (revision 4)
+++ include/X11/region.h        (working copy)
@@ -187,4 +187,4 @@
     struct _POINTBLOCK *next;
 } POINTBLOCK;
 
-#endif
+#endif /* _XREGION_H */
Index: src/Xresinternal.h
===================================================================
--- src/Xresinternal.h  (revision 4)
+++ src/Xresinternal.h  (working copy)
@@ -11,5 +11,4 @@
     register _Xconst char *name, register int len, register Signature sig,
     Bool permstring);
 
-#endif /* _XRESOURCEINTERNAL_H_ */
-/* DON'T ADD STUFF AFTER THIS #endif */
+#endif /* _XRESINTERNAL_H_ */
Index: src/XimTrans.h
===================================================================
--- src/XimTrans.h      (revision 4)
+++ src/XimTrans.h      (working copy)
@@ -120,4 +120,4 @@
     Xim                 im
 );
 
-#endif /* _XIMTRANS__H */
+#endif /* _XIMTRANS_H */
-- 
Warren Turkal
President, GOLUM, Inc.
http://www.golum.org