[maemo-commits] [maemo-commits] r10585 - in projects/haf/trunk/libosso-help: . debian src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Mar 14 14:19:45 EET 2007
Author: schulhof
Date: 2007-03-14 14:19:44 +0200 (Wed, 14 Mar 2007)
New Revision: 10585

Modified:
   projects/haf/trunk/libosso-help/ChangeLog
   projects/haf/trunk/libosso-help/configure.ac
   projects/haf/trunk/libosso-help/debian/changelog
   projects/haf/trunk/libosso-help/src/osso-helplib.c
Log:
Trying the link warning stuff


Modified: projects/haf/trunk/libosso-help/ChangeLog
===================================================================
--- projects/haf/trunk/libosso-help/ChangeLog	2007-03-14 11:53:45 UTC (rev 10584)
+++ projects/haf/trunk/libosso-help/ChangeLog	2007-03-14 12:19:44 UTC (rev 10585)
@@ -1,3 +1,7 @@
+2007-03-14 Gabriel Schulhof <gabriel.schulhof at nokia.com>
+
+	* Trying the link warning stuff
+
 2007-03-13 Gabriel Schulhof <gabriel.schulhof at nokia.com>
 
 	* Gutted. Contents moved to hildon-help (libhildonhelp0)

Modified: projects/haf/trunk/libosso-help/configure.ac
===================================================================
--- projects/haf/trunk/libosso-help/configure.ac	2007-03-14 11:53:45 UTC (rev 10584)
+++ projects/haf/trunk/libosso-help/configure.ac	2007-03-14 12:19:44 UTC (rev 10585)
@@ -7,7 +7,7 @@
 
 # Mandatory, initializes autoconf.
 #
-AC_INIT(libosso-help, 2.1.1)
+AC_INIT(libosso-help, 2.1.2)
 
 # Tests that source dir exists
 AC_CONFIG_SRCDIR( [src/osso-helplib.c] )

Modified: projects/haf/trunk/libosso-help/debian/changelog
===================================================================
--- projects/haf/trunk/libosso-help/debian/changelog	2007-03-14 11:53:45 UTC (rev 10584)
+++ projects/haf/trunk/libosso-help/debian/changelog	2007-03-14 12:19:44 UTC (rev 10585)
@@ -1,3 +1,9 @@
+libosso-help (2.1.2-2) unstable; urgency=low
+
+  * Trying the link warning stuff
+
+ -- Gabriel Schulhof <gabriel.schulhof at nokia.com>  Wed, 14 Mar 2007 14:17:48 +0200
+
 libosso-help (2.1.2-1) unstable; urgency=low
 
   * Gutted. Contents moved to hildon-help (libhildonhelp0)

Modified: projects/haf/trunk/libosso-help/src/osso-helplib.c
===================================================================
--- projects/haf/trunk/libosso-help/src/osso-helplib.c	2007-03-14 11:53:45 UTC (rev 10584)
+++ projects/haf/trunk/libosso-help/src/osso-helplib.c	2007-03-14 12:19:44 UTC (rev 10585)
@@ -25,6 +25,11 @@
 #include <hildon/hildon-help.h>
 #include "osso-helplib.h"
 
+#define link_warning(symbol, msg) \
+  static const char __evoke_link_warning_##symbol[]     \
+    __attribute__ ((unused, section (".gnu.warning." #symbol ))) \
+    = msg;
+
 /*---=== Public API ===---*/
 
 /*---( doc in header )---*/
@@ -35,6 +40,7 @@
 {
   return hildon_help_show (osso, help_id, flags) ;
 }
+link_warning(ossohelp_show, "warning: ossohelp_show has been deprecated in favour of hildon_help_show from pkg-config: hildon-help and Debian libhildonhelp0.");
 
 
 /*---=== Dialog help enabling ===---*/
@@ -72,3 +78,4 @@
 {
   return hildon_help_dialog_help_enable (dialog, topic, osso) ;
 }
+link_warning(ossohelp_dialog_help_enable, "warning: ossohelp_dialog_help_enable has been deprecated in favour of hildon_help_dialog_help_enable from pkg-config: hildon-help and Debian libhildonhelp0.");


More information about the maemo-commits mailing list