[PATCH] warning cleanup



Hi.

Here's a couple of patches that clean up warnings. These are
all trivial fixes to things appearing after `#endif' statements.

Thanks to everyone working on GNOME!

Art Haas
==========================================
--- gnome-utils-1.4.0/gcharmap/src/main.c.orig	Tue Jan 23 11:11:29 2001
+++ gnome-utils-1.4.0/gcharmap/src/main.c	Mon May 21 21:18:00 2001
@@ -39,4 +39,4 @@
     return 0;
 }
 
-#endif _MAIN_C_
+#endif /* _MAIN_C_ */
--- gnome-utils-1.4.0/gcharmap/src/interface.c.orig	Sun Mar 11 10:16:12 2001
+++ gnome-utils-1.4.0/gcharmap/src/interface.c	Mon May 21 21:18:49 2001
@@ -323,4 +323,4 @@
 }
 
 
-#endif _INTERFACE_C_
+#endif /* _INTERFACE_C_ */
--- gnome-utils-1.4.0/gcharmap/src/menus.c.orig	Mon Jan 29 16:15:38 2001
+++ gnome-utils-1.4.0/gcharmap/src/menus.c	Mon May 21 21:19:12 2001
@@ -113,4 +113,4 @@
 };
 
 
-#endif _MENUS_C_
+#endif /* _MENUS_C_ */
--- gnome-utils-1.4.0/gcharmap/src/callbacks.c.orig	Sun Jan 21 13:15:40 2001
+++ gnome-utils-1.4.0/gcharmap/src/callbacks.c	Mon May 21 21:19:34 2001
@@ -239,4 +239,4 @@
 }
 
 
-#endif _CALLBACKS_C_
+#endif /* _CALLBACKS_C_ */
--- gnome-utils-1.4.0/gcharmap/src/asciiselect.c.orig	Wed Nov 15 11:48:27 2000
+++ gnome-utils-1.4.0/gcharmap/src/asciiselect.c	Mon May 21 21:19:57 2001
@@ -201,5 +201,5 @@
 }
 
 
-#endif _ASCII_SELECT_C_
+#endif /* _ASCII_SELECT_C_ */
 
--- gnome-utils-1.4.0/gcharmap/src/menus.h.orig	Sun Jan 21 13:15:40 2001
+++ gnome-utils-1.4.0/gcharmap/src/menus.h	Mon May 21 21:25:35 2001
@@ -32,4 +32,4 @@
 extern GnomeUIInfo menubar[];
 extern GnomeUIInfo toolbar[];
 
-#endif _MENUS_H_
+#endif /* _MENUS_H_ */
--- gnome-utils-1.4.0/gcharmap/src/callbacks.h.orig	Sun Jan 21 13:15:40 2001
+++ gnome-utils-1.4.0/gcharmap/src/callbacks.h	Mon May 21 21:26:00 2001
@@ -44,4 +44,4 @@
 void cb_toggle_textbar (GtkCheckMenuItem *checkmenuitem, gpointer user_data);
 void cb_toggle_statusbar (GtkCheckMenuItem *checkmenuitem, gpointer user_data);
 
-#endif _CALLBACKS_H_
+#endif /* _CALLBACKS_H_ */
--- gnome-utils-1.4.0/stripchart/params.c.orig	Wed Mar  7 14:19:55 2001
+++ gnome-utils-1.4.0/stripchart/params.c	Mon May 21 21:20:35 2001
@@ -856,7 +856,7 @@
 
   #ifdef DEBUG
   printf("add_param: n %d, page %p\n", n, page);
-  #endif DEBUG
+  #endif
   return page;
 }
=================================================== 
--- eog-0.6/viewer/eog-embeddable-view.h.orig	Tue Feb  6 12:50:07 2001
+++ eog-0.6/viewer/eog-embeddable-view.h	Mon May 21 21:25:07 2001
@@ -51,4 +51,4 @@
 
 END_GNOME_DECLS
 
-#endif _EOG_EOG_EMBEDDABLE_VIEW
+#endif /* _EOG_EMBEDDABLE_VIEW_H_ */
--- eog-0.6/viewer/eog-control.h.orig	Tue Feb  6 12:47:51 2001
+++ eog-0.6/viewer/eog-control.h	Sun May 13 21:44:55 2001
@@ -43,4 +43,4 @@
 
 END_GNOME_DECLS
 
-#endif _EOG_EOG_CONTROL
+#endif /* _EOG_CONTROL_H_ */
--- eog-0.6/viewer/eog-image.h.orig	Sat Dec  9 16:22:55 2000
+++ eog-0.6/viewer/eog-image.h	Sun May 13 21:47:46 2001
@@ -57,4 +57,4 @@
 
 END_GNOME_DECLS
 
-#endif _EOG_EOG_IMAGE
+#endif /* _EOG_IMAGE_H_ */
--- eog-0.6/viewer/eog-image-view.h.orig	Sat Jan 20 17:27:57 2001
+++ eog-0.6/viewer/eog-image-view.h	Sun May 13 21:47:15 2001
@@ -88,4 +88,4 @@
 
 END_GNOME_DECLS
 
-#endif _EOG_EOG_IMAGE_VIEW
+#endif /* _EOG_IMAGE_VIEW_H_ */
--- eog-0.6/viewer/eog-embeddable.h.orig	Wed Feb  7 10:04:45 2001
+++ eog-0.6/viewer/eog-embeddable.h	Sun May 13 21:47:34 2001
@@ -48,4 +48,4 @@
 
 END_GNOME_DECLS
 
-#endif _EOG_EOG_EMBEDDABLE
+#endif /* _EOG_EMBEDDABLE_H_ */
=======================================================
--- libgtop-1.0.12/sysdeps/freebsd/glibtop_machine.h.orig	Tue Feb 23 05:43:56 1999
+++ libgtop-1.0.12/sysdeps/freebsd/glibtop_machine.h	Mon May 21 21:26:40 2001
@@ -56,4 +56,4 @@
 
 END_LIBGTOP_DECLS
 
-#endif __GLIBTOP_MACHINE_H__
+#endif /* __GLIBTOP_MACHINE_H__ */
--- libgtop-1.0.12/sysdeps/solaris/glibtop_machine.h.orig	Wed Feb 14 17:48:48 2001
+++ libgtop-1.0.12/sysdeps/solaris/glibtop_machine.h	Mon May 21 21:27:06 2001
@@ -75,4 +75,4 @@
 
 END_LIBGTOP_DECLS
 
-#endif __GLIBTOP_MACHINE_H__
+#endif /* __GLIBTOP_MACHINE_H__ */
===============================================
--- bonobo-conf-0.2/bonobo-conf/bonobo-preferences.h.orig	Wed Apr 11 11:21:04 2001
+++ bonobo-conf-0.2/bonobo-conf/bonobo-preferences.h	Mon May 21 21:29:14 2001
@@ -42,4 +42,4 @@
 
 END_GNOME_DECLS
 
-#endif _BONOBO_PREFERENCES_H
+#endif /* _BONOBO_PREFERENCES_H */
===================================================
--- gnome-libs-1.2.13/libgnomeui/gnome-client.c.orig	Thu May  4 05:15:28 2000
+++ gnome-libs-1.2.13/libgnomeui/gnome-client.c	Mon May 21 21:23:58 2001
@@ -2610,7 +2610,7 @@
       SmcRequestSaveYourself ((SmcConn) client->smc_conn, _save_style,
 			      shutdown, _interact_style,
 			      fast, global);            
-#endif HAVE_LIBSM
+#endif /* HAVE_LIBSM */
     }
   else 
     {
===============================================




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]