Hi Alex,

the current dia cvs version reports the following warning:
../../dia/app/preferences.c:352: warning: `prefs_apply' was declared implicitly 
`extern' and later `static'
../../dia/app/preferences.c:345: warning: previous declaration of `prefs_apply'

I'm appending a patch.

Andreas


1999-04-12  Andreas Jaeger  <[EMAIL PROTECTED]>

        * app/preferences.c: Add prototype declaration for prefs_apply.

--- app/preferences.c.~1~       Sun Apr 11 22:53:53 1999
+++ app/preferences.c   Mon Apr 12 09:50:14 1999
@@ -139,6 +139,8 @@
 static void prefs_get_value_from_widget(GtkWidget * widget, enum DiaPrefType type, 
char *ptr);
 static void prefs_update_dialog_from_prefs(void);
 static void prefs_update_prefs_from_dialog(void);
+static gint prefs_apply(GtkWidget *widget, gpointer data);
+
 
 static GtkWidget *prefs_dialog = NULL;
 

-- 
 Andreas Jaeger   [EMAIL PROTECTED]    [EMAIL PROTECTED]
  for pgp-key finger [EMAIL PROTECTED]

Reply via email to