Patch: fix warnings in bonobo
- From: Frederic Crozat <fcrozat mandrakesoft com>
- To: gnome-components-list gnome org
- Subject: Patch: fix warnings in bonobo
- Date: 14 Nov 2001 10:44:06 +0100
This patch fixes almost all warnings in bonobo stable branch (there is
still one left in tests/test-any.c but it is about unused variables so I
don't know if we should remove these variables..)
Can I commit to stable branch ?
--
Frédéric Crozat
MandrakeSoft
--- bonobo-1.0.16/samples/compound-doc/container/container.c.orig Tue Dec 12 00:11:42 2000
+++ bonobo-1.0.16/samples/compound-doc/container/container.c Wed Nov 14 10:23:32 2001
@@ -279,7 +279,7 @@
init_data.app = sample_app_create ();
if (ctx)
- init_data.startup_files = poptGetArgs (ctx);
+ init_data.startup_files = (const char**) poptGetArgs (ctx);
else
init_data.startup_files = NULL;
--- bonobo-1.0.16/bonobo/bonobo-main.c.orig Thu May 24 10:40:07 2001
+++ bonobo-1.0.16/bonobo/bonobo-main.c Wed Nov 14 10:10:53 2001
@@ -21,6 +21,7 @@
#include <liboaf/liboaf.h>
#include <X11/Xlib.h>
+#include <libintl.h>
CORBA_ORB __bonobo_orb;
PortableServer_POA __bonobo_poa;
--- bonobo-1.0.16/libefs/src/wrapper.c.orig Sat Nov 4 13:15:03 2000
+++ bonobo-1.0.16/libefs/src/wrapper.c Wed Nov 14 10:03:45 2001
@@ -21,6 +21,7 @@
*/
+#include <string.h>
#include "efs_internal.h"
#if MAX_MEM_LEVEL >= 8
--- bonobo-1.0.16/libefs/src/efstool.c.orig Sat Nov 4 16:13:32 2000
+++ bonobo-1.0.16/libefs/src/efstool.c Wed Nov 14 10:07:01 2001
@@ -26,6 +26,7 @@
#include <string.h>
#include <dirent.h>
#include <stdio.h>
+#include <stdlib.h>
#include "efs_internal.h"
--- bonobo-1.0.16/libefs/src/efstest.c.orig Tue Jun 5 09:27:52 2001
+++ bonobo-1.0.16/libefs/src/efstest.c Wed Nov 14 10:07:43 2001
@@ -22,7 +22,8 @@
*/
#include <unistd.h>
-
+#include <string.h>
+#include <stdlib.h>
#include "efs.h"
--- bonobo-1.0.16/libefs/src/ib1_cache.c.orig Thu Sep 14 10:34:40 2000
+++ bonobo-1.0.16/libefs/src/ib1_cache.c Wed Nov 14 10:06:08 2001
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <unistd.h>
+#include <string.h>
#include "ib1_driver.h"
#include <sys/types.h>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]