File: implicit_declaration.patch

package info (click to toggle)
gnome-system-tools 3.0.0-11.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 17,840 kB
  • sloc: ansic: 16,544; xml: 14,114; sh: 10,794; makefile: 402
file content (29 lines) | stat: -rw-r--r-- 890 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Description: add missing declarations
 Add missing headers and declarations to resolve -Werror=implicit-function-declaration.
Author: Vladimir Petko <vladimir.petko@canonical.com>
Bug-Ubuntu: https://bugs.launchpad.net/debian/+source/gnome-system-tools/+bug/2060165
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1066239
Forwarded: no
Last-Update: 2024-04-04

--- a/src/shares/shares-tool.h
+++ b/src/shares/shares-tool.h
@@ -58,6 +58,7 @@
 };

 GstSharesTool *gst_shares_tool_new (void);
+GType gst_shares_tool_get_type();


 G_END_DECLS
--- a/src/shares/shares-tool.c
+++ b/src/shares/shares-tool.c
@@ -23,6 +23,8 @@
 #include "users-table.h"
 #include <glib/gi18n.h>
 #include "gst.h"
+#include "table.h"
+#include "share-settings.h"

 static void gst_shares_tool_class_init (GstSharesToolClass *class);
 static void gst_shares_tool_init       (GstSharesTool      *tool);