[maemo-commits] [maemo-commits] r10470 - in projects/haf/trunk/maemo-launcher: . launcher

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Mar 8 19:24:46 EET 2007
Author: guillem
Date: 2007-03-08 19:24:44 +0200 (Thu, 08 Mar 2007)
New Revision: 10470

Modified:
   projects/haf/trunk/maemo-launcher/ChangeLog
   projects/haf/trunk/maemo-launcher/launcher/booster_api.h
Log:
	* launcher/booster_api.h: When included from C++ declare as extern C.


Modified: projects/haf/trunk/maemo-launcher/ChangeLog
===================================================================
--- projects/haf/trunk/maemo-launcher/ChangeLog	2007-03-08 16:12:42 UTC (rev 10469)
+++ projects/haf/trunk/maemo-launcher/ChangeLog	2007-03-08 17:24:44 UTC (rev 10470)
@@ -1,3 +1,7 @@
+2007-03-08  Guillem Jover  <guillem.jover at nokia.com>
+
+	* launcher/booster_api.h: When included from C++ declare as extern C.
+
 2007-03-08  Johannes Schmid <johannes.schmid at openismus.com>,
 	    Guillem Jover  <guillem.jover at nokia.com>
 

Modified: projects/haf/trunk/maemo-launcher/launcher/booster_api.h
===================================================================
--- projects/haf/trunk/maemo-launcher/launcher/booster_api.h	2007-03-08 16:12:42 UTC (rev 10469)
+++ projects/haf/trunk/maemo-launcher/launcher/booster_api.h	2007-03-08 17:24:44 UTC (rev 10470)
@@ -23,6 +23,10 @@
 #ifndef BOOSTER_API_H
 #define BOOSTER_API_H
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef void *booster_state_t;
 
 typedef struct {
@@ -34,5 +38,9 @@
 
 #define BOOSTER_API_VERSION 0
 
+#ifdef __cplusplus
+}
 #endif
 
+#endif
+


More information about the maemo-commits mailing list