Index: beast-gtk/bstmenus.h
===================================================================
RCS file: /cvs/gnome/beast/beast-gtk/bstmenus.h,v
retrieving revision 1.22
diff -u -p -u -r1.22 bstmenus.h
--- beast-gtk/bstmenus.h	20 Nov 2004 11:45:44 -0000	1.22
+++ beast-gtk/bstmenus.h	15 Jun 2006 16:01:21 -0000
@@ -37,7 +37,7 @@ void bst_choice_menu_set_item_sensitive	
 					   gulong		   id,
 					   gboolean		   sensitive);
 GtkWidget* bst_choice_dialog_createv      (BstChoice              *first_choice,
-					   ...);
+					   ...) G_GNUC_NULL_TERMINATED;
 gboolean   bst_choice_selectable          (GtkWidget              *widget);
 guint      bst_choice_modal               (GtkWidget              *widget,
 					   guint                   mouse_button,
Index: beast-gtk/bstprocedure.h
===================================================================
RCS file: /cvs/gnome/beast/beast-gtk/bstprocedure.h,v
retrieving revision 1.14
diff -u -p -u -r1.14 bstprocedure.h
--- beast-gtk/bstprocedure.h	10 Dec 2003 08:24:18 -0000	1.14
+++ beast-gtk/bstprocedure.h	15 Jun 2006 16:01:21 -0000
@@ -74,13 +74,13 @@ gboolean	   bst_procedure_shell_preset	 
 BstProcedureShell* bst_procedure_shell_global	(void);
 void		   bst_procedure_exec		(const gchar	*procedure_name,
 						 const gchar	*preset_param,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 void		   bst_procedure_exec_auto	(const gchar    *procedure_name,
 						 const gchar	*preset_param,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 void		   bst_procedure_exec_modal	(const gchar    *procedure_name,
 						 const gchar	*preset_param,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 GParamSpec*        bst_procedure_ref_pspec      (const gchar    *procedure_name,
                                                  const gchar    *parameter);
 
Index: beast-gtk/bstusermessage.h
===================================================================
RCS file: /cvs/gnome/beast/beast-gtk/bstusermessage.h,v
retrieving revision 1.14
diff -u -p -u -r1.14 bstusermessage.h
--- beast-gtk/bstusermessage.h	9 Mar 2006 17:08:40 -0000	1.14
+++ beast-gtk/bstusermessage.h	15 Jun 2006 16:01:22 -0000
@@ -67,7 +67,7 @@ guint             bst_message_dialog_eli
                                                  BstMsgType              type,
                                                  BirnetMsgBit              *lbit1,
                                                  BirnetMsgBit              *lbit2,
-                                                 ...);
+                                                 ...) G_GNUC_NULL_TERMINATED;
 BirnetMsgBit*        bst_message_bit_appoint       (guint                   id,
                                                  const gchar            *name,
                                                  const gchar            *stock_icon,
Index: beast-gtk/bstutils.h
===================================================================
RCS file: /cvs/gnome/beast/beast-gtk/bstutils.h,v
retrieving revision 1.63
diff -u -p -u -r1.63 bstutils.h
--- beast-gtk/bstutils.h	7 May 2006 17:26:28 -0000	1.63
+++ beast-gtk/bstutils.h	15 Jun 2006 16:01:22 -0000
@@ -43,13 +43,13 @@ GtkWidget*     bst_container_get_named_c
 GtkWidget*     bst_xpm_view_create            (const gchar    **xpm,
                                                GtkWidget       *colormap_widget);
 GtkWidget*     bst_vpack                      (const gchar     *first_location,
-                                               ...);
+                                               ...) G_GNUC_NULL_TERMINATED;
 GtkWidget*     bst_hpack                      (const gchar     *first_location,
-                                               ...);
+                                               ...) G_GNUC_NULL_TERMINATED;
 GtkWidget*     bst_vpack0                     (const gchar     *first_location,
-                                               ...);
+                                               ...) G_GNUC_NULL_TERMINATED;
 GtkWidget*     bst_hpack0                     (const gchar     *first_location,
-                                               ...);
+                                               ...) G_GNUC_NULL_TERMINATED;
 void           bst_action_list_add_cat        (GxkActionList   *alist,
                                                BseCategory     *cat,
                                                guint            skip_levels,
Index: beast-gtk/gxk/gxkutils.h
===================================================================
RCS file: /cvs/gnome/beast/beast-gtk/gxk/gxkutils.h,v
retrieving revision 1.56
diff -u -p -u -r1.56 gxkutils.h
--- beast-gtk/gxk/gxkutils.h	26 Feb 2006 17:55:41 -0000	1.56
+++ beast-gtk/gxk/gxkutils.h	15 Jun 2006 16:01:22 -0000
@@ -262,7 +262,7 @@ void         gxk_widget_activate_accel_g
                                                    GtkAccelGroup    *accel_group);
 void         gxk_size_group                       (GtkSizeGroupMode  sgmode,
                                                    gpointer          first_widget,
-                                                   ...);
+                                                   ...) G_GNUC_NULL_TERMINATED;
 
 /* tree view convenience */
 gint	           gxk_tree_spath_index0		(const gchar		*strpath);
@@ -275,7 +275,7 @@ guint	           gxk_tree_view_add_colum
                                                          GtkTreeViewColumn	*column,
                                                          GtkCellRenderer	*cell,
                                                          const gchar		*attrib_name,
-                                                         ...);
+                                                         ...) G_GNUC_NULL_TERMINATED;
 void               gxk_tree_view_append_text_columns    (GtkTreeView		*tree_view,
                                                          guint			 n_cols,
                                                          ...);
Index: birnet/birnetutils.h
===================================================================
RCS file: /cvs/gnome/beast/birnet/birnetutils.h,v
retrieving revision 1.1
diff -u -p -u -r1.1 birnetutils.h
--- birnet/birnetutils.h	20 Mar 2006 23:22:51 -0000	1.1
+++ birnet/birnetutils.h	15 Jun 2006 16:01:22 -0000
@@ -23,6 +23,14 @@
 
 BIRNET_EXTERN_C_BEGIN();
 
+#ifndef G_GNUC_NULL_TERMINATED
+#if     __GNUC__ >= 4
+#define G_GNUC_NULL_TERMINATED __attribute__((__sentinel__))
+#else
+#define G_GNUC_NULL_TERMINATED
+#endif
+#endif
+
 BIRNET_EXTERN_C_END();
 
 #endif /* __BIRNET_UTILS_H__ */
Index: bse/bsecxxbase.hh
===================================================================
RCS file: /cvs/gnome/beast/bse/bsecxxbase.hh,v
retrieving revision 1.14
diff -u -p -u -r1.14 bsecxxbase.hh
--- bse/bsecxxbase.hh	2 Apr 2006 01:43:21 -0000	1.14
+++ bse/bsecxxbase.hh	15 Jun 2006 16:01:22 -0000
@@ -72,9 +72,9 @@ public:
   void            notify            (const gchar   *property);
   void            thaw_notify       ();
   void            set               (const gchar   *first_property_name,
-                                     ...);
+                                     ...) G_GNUC_NULL_TERMINATED;
   void            get               (const gchar   *first_property_name,
-                                     ...);
+                                     ...) G_GNUC_NULL_TERMINATED;
   void            set_property      (guint          prop_id,
                                      const Value   &value,
                                      GParamSpec    *pspec);
Index: bse/bseengine.h
===================================================================
RCS file: /cvs/gnome/beast/bse/bseengine.h,v
retrieving revision 1.38
diff -u -p -u -r1.38 bseengine.h
--- bse/bseengine.h	7 May 2006 02:08:37 -0000	1.38
+++ bse/bseengine.h	15 Jun 2006 16:01:22 -0000
@@ -186,7 +186,7 @@ void       bse_trans_commit_delayed     
                                          guint64               tick_stamp);
 void       bse_trans_dismiss            (BseTrans             *trans);
 void       bse_transact                 (BseJob               *job,
-                                         ...);
+                                         ...) G_GNUC_NULL_TERMINATED;
 
 /* --- module utilities (EngineThread functions) --- */
 gfloat*    bse_engine_const_values      (gfloat                value);
Index: bse/bseitem.h
===================================================================
RCS file: /cvs/gnome/beast/bse/bseitem.h,v
retrieving revision 1.33
diff -u -p -u -r1.33 bseitem.h
--- bse/bseitem.h	14 Jun 2006 13:51:22 -0000	1.33
+++ bse/bseitem.h	15 Jun 2006 16:01:23 -0000
@@ -143,7 +143,7 @@ void          bse_item_set_valist_undoab
                                               va_list          var_args);
 void          bse_item_set_undoable          (gpointer        object,
                                               const gchar    *first_property_name,
-                                              ...);
+                                              ...) G_GNUC_NULL_TERMINATED;
 void          bse_item_set_property_undoable (BseItem         *self,
                                               const gchar     *name,
                                               const GValue    *value);
Index: sfi/glib-extra.h
===================================================================
RCS file: /cvs/gnome/beast/sfi/glib-extra.h,v
retrieving revision 1.38
diff -u -p -u -r1.38 glib-extra.h
--- sfi/glib-extra.h	22 May 2006 22:13:10 -0000	1.38
+++ sfi/glib-extra.h	15 Jun 2006 16:01:23 -0000
@@ -95,19 +95,19 @@ const gchar*    g_intern_static_string  
 #endif
 
 const gchar*    g_intern_strconcat      (const gchar   *first_string,
-                                         ...);
+                                         ...) G_GNUC_NULL_TERMINATED;
 const gchar*    g_intern_printf         (const gchar   *format,
                                          ...) G_GNUC_PRINTF (1,2);
 
 gchar*          g_path_concat     (const gchar   *first_path,
-                                   ...);
+                                   ...) G_GNUC_NULL_TERMINATED;
 GString*        g_string_prefix_lines (GString     *gstring,
                                        const gchar *pstr);
 
 
 /* --- string options --- */
 gchar*          g_option_concat   (const gchar   *first_option,
-                                   ...);
+                                   ...) G_GNUC_NULL_TERMINATED;
 gboolean        g_option_check    (const gchar   *option_string,
                                    const gchar   *option);
 gchar*          g_option_get      (const gchar   *option_string,
Index: sfi/sfiglueproxy.h
===================================================================
RCS file: /cvs/gnome/beast/sfi/sfiglueproxy.h,v
retrieving revision 1.4
diff -u -p -u -r1.4 sfiglueproxy.h
--- sfi/sfiglueproxy.h	5 May 2003 01:43:03 -0000	1.4
+++ sfi/sfiglueproxy.h	15 Jun 2006 16:01:24 -0000
@@ -41,10 +41,10 @@ gboolean	sfi_glue_proxy_is_a		(SfiProxy	
 						 const gchar	*type);
 void		sfi_glue_proxy_connect		(SfiProxy	 proxy,
 						 const gchar	*signal,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 void		sfi_glue_proxy_disconnect	(SfiProxy	 proxy,
 						 const gchar	*signal,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 gboolean	sfi_glue_proxy_pending		(SfiProxy	 proxy,
 						 const gchar	*signal,
 						 GCallback	 callback,
@@ -65,10 +65,10 @@ void		sfi_glue_proxy_weak_unref	(SfiProx
 						 gpointer	 data);
 void		sfi_glue_proxy_set		(SfiProxy	 proxy,
 						 const gchar	*prop,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 void		sfi_glue_proxy_get		(SfiProxy	 proxy,
 						 const gchar	*prop,
-						 ...);
+						 ...) G_GNUC_NULL_TERMINATED;
 void		sfi_glue_proxy_set_property	(SfiProxy	 proxy,
 						 const gchar	*prop,
 						 const GValue	*value);
Index: tools/sfiutils.h
===================================================================
RCS file: /cvs/gnome/beast/tools/sfiutils.h,v
retrieving revision 1.1
diff -u -p -u -r1.1 sfiutils.h
--- tools/sfiutils.h	3 Sep 2004 02:35:28 -0000	1.1
+++ tools/sfiutils.h	15 Jun 2006 16:01:24 -0000
@@ -97,7 +97,7 @@ gboolean    sfi_arguments_read_num	(cons
 					 gdouble	*num);
 guint	    sfi_arguments_read_all_nums	(const gchar    *option,
 					 gdouble	*first,
-					 ...);
+					 ...) G_GNUC_NULL_TERMINATED;
 
 G_END_DECLS
 
