r1420 - in trunk/src/target/OM-2007/applications/openmoko-appmanager: . src
caowai_song at sita.openmoko.org
caowai_song at sita.openmoko.org
Tue Mar 20 03:38:41 CET 2007
Author: caowai_song
Date: 2007-03-20 03:38:33 +0100 (Tue, 20 Mar 2007)
New Revision: 1420
Modified:
trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog
trunk/src/target/OM-2007/applications/openmoko-appmanager/src/ipkgapi.c
trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c
Log:
Remove the warning of "strdup" not decleration.
Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog 2007-03-20 01:28:04 UTC (rev 1419)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/ChangeLog 2007-03-20 02:38:33 UTC (rev 1420)
@@ -1,3 +1,10 @@
+2007-03-20 Chaowei Song <songcw at fic-sh.com.cn>
+ * src/ipkgapi.c:
+ Add #define __USE_XOPEN_EXTENDED before include string.h, removing the
+ warning of "strdup" undecleration.
+ * src/tool-box.c:
+ Including the filter-menu.h now.
+
2007-03-19 Chaowei Song <songcw at fic-sh.com.cn>
* src/package-list.c: (package_list_execute_change):
Set a changed flag when install, remove or upgrade a package success.
Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/src/ipkgapi.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/src/ipkgapi.c 2007-03-20 01:28:04 UTC (rev 1419)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/src/ipkgapi.c 2007-03-20 02:38:33 UTC (rev 1420)
@@ -17,6 +17,7 @@
* General Public License for more details.
*/
#include <stdio.h>
+#define __USE_XOPEN_EXTENDED
#include <string.h>
#include <stdlib.h>
#include <fnmatch.h>
Modified: trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c
===================================================================
--- trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c 2007-03-20 01:28:04 UTC (rev 1419)
+++ trunk/src/target/OM-2007/applications/openmoko-appmanager/src/tool-box.c 2007-03-20 02:38:33 UTC (rev 1420)
@@ -25,6 +25,7 @@
#include "appmanager-window.h"
#include "apply-dialog.h"
#include "install-dialog.h"
+#include "filter-menu.h"
/**
* @brief The callback function of the button "upgrade"
More information about the commitlog
mailing list