Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /src/desktop_integration.c [38f5be] .. [dba5ed] Maximize Restore

  Switch to side-by-side view

--- a/src/desktop_integration.c
+++ b/src/desktop_integration.c
@@ -38,6 +38,7 @@
 #include <unistd.h>
 #include <errno.h>
 
+#include "desktop_integration.h"
 #include "utils.h"
 
 typedef enum { GNOME_VFS_OK } GnomeVFSResult; /* incomplete */
@@ -119,7 +120,7 @@
 			 get_func ("gnome_vfs_" #VAR))) \
     return 0
 
-int gnome_vfs_init (void)
+static int gnome_vfs_init (void)
 {
   void (*gnome_vfs_init_func) (void) = NULL;
   void (*gnome_vfs_mime_get_value) (const char *, const char *) = NULL;
@@ -162,7 +163,7 @@
   if ((VAR = (typeof (VAR)) get_func ((NAME))) == NULL) \
     return
 
-void gnome_vfs_shutdown (void)
+static void gnome_vfs_shutdown (void)
 {
   /* release the gnomevfs library */
   if (gnome_vfs_handle)
@@ -223,7 +224,6 @@
 {
   return report;
 }
-
 
 static FILE *di_fopen (const char *fname)
 {
@@ -477,7 +477,7 @@
 {
   gchar *fname, *sname;
   char buf[FILENAME_MAX];
-  int i;
+  unsigned int i;
   struct stat st;
 
   static const char *dir[] = { "/.mozilla", "/.mozilla/firefox", "/.firefox" };