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 222de2a25900d53445a233a4669347d51b3f68f2..4feac1c7ee6b70da3bb99d9e44c2da8c67dbd428 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 374a862b7ccc3e2f08aa8257ab99405d91e06cbe..d23556fa317265967423f9e831df65cd3398ddd7 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 9092b6a9594c60d79010875b7c8f9422e097ff9c..62addce3f73768545b88f06ebe00ee8e42250407 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 */