Fix bug #2981 and other two implicit...
authorRicardo Mones <ricardo@mones.org>
Wed, 29 Apr 2015 18:28:29 +0000 (20:28 +0200)
committerRicardo Mones <ricardo@mones.org>
Wed, 29 Apr 2015 18:28:29 +0000 (20:28 +0200)
...declaration warnings I probably introduced in previous commits:

• notification_prefs.c:1285:2: warning: implicit declaration of function
  'filesel_select_file_open' [-Wimplicit-function-declaration]
• rssyl_prefs.c:110:2: warning: implicit declaration of function
  'filesel_select_file_open' [-Wimplicit-function-declaration]
• icalderivedproperty.c:374:4: warning: implicit declaration of function
  'icalproperty_add_parameters' [-Wimplicit-function-declaration]

;-)

src/plugins/notification/notification_prefs.c
src/plugins/rssyl/rssyl_prefs.c
src/plugins/vcalendar/libical/libical/icalderivedproperty.c.in

index 222de2a..4feac1c 100644 (file)
@@ -31,6 +31,7 @@
 #include "common/utils.h"
 #include "common/defs.h"
 #include "gtk/gtkutils.h"
+#include "gtk/filesel.h"
 #include "main.h"
 
 #include "notification_prefs.h"
index 374a862..d23556f 100644 (file)
@@ -32,6 +32,7 @@
 #include <common/defs.h>
 #include <prefs_gtk.h>
 #include <mainwindow.h>
+#include <gtk/filesel.h>
 
 /* Local includes */
 #include "rssyl.h"
index 9092b6a..62addce 100644 (file)
@@ -48,6 +48,8 @@
 struct icalproperty_impl*
 icalproperty_new_impl (icalproperty_kind kind);
 
+void icalproperty_add_parameters (struct icalproperty_impl *prop, va_list args);
+
 /* This map associates the property kinds with the string
    representation of the property name and the kind of VALUE that the
    property uses as a default */