[maemo-commits] [maemo-commits] r18658 - in projects/haf/trunk/ke-recv-extra: debian src
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Mon Jun 8 15:27:38 EEST 2009
- Previous message: [maemo-commits] r18657 - in projects/haf/trunk/ke-recv: debian src
- Next message: [maemo-commits] r18659 - in projects/haf/trunk/ke-recv: debian src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: kihamala
Date: 2009-06-08 15:27:30 +0300 (Mon, 08 Jun 2009)
New Revision: 18658
Modified:
projects/haf/trunk/ke-recv-extra/debian/changelog
projects/haf/trunk/ke-recv-extra/debian/rules
projects/haf/trunk/ke-recv-extra/src/events.c
projects/haf/trunk/ke-recv-extra/src/hulda.c
Log:
silence compilation warning, add -Werror, log when sending low-mem signals
Modified: projects/haf/trunk/ke-recv-extra/debian/changelog
===================================================================
--- projects/haf/trunk/ke-recv-extra/debian/changelog 2009-06-08 11:57:23 UTC (rev 18657)
+++ projects/haf/trunk/ke-recv-extra/debian/changelog 2009-06-08 12:27:30 UTC (rev 18658)
@@ -9,6 +9,7 @@
* Remove unsafe function calls from signal handlers.
* Add polling of /proc/mounts to detect read-only memory card mounting and
show infonote about r-o mounting if it happens, related to NB#114795.
+ * Silence the single compilation warning and add -Werror compilation option.
-- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com> Fri, 5 Jun 2009 14:33:33 +0300
Modified: projects/haf/trunk/ke-recv-extra/debian/rules
===================================================================
--- projects/haf/trunk/ke-recv-extra/debian/rules 2009-06-08 11:57:23 UTC (rev 18657)
+++ projects/haf/trunk/ke-recv-extra/debian/rules 2009-06-08 12:27:30 UTC (rev 18658)
@@ -13,7 +13,7 @@
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-CFLAGS = -DOSSOLOG_COMPILE -Wall -g \
+CFLAGS = -DOSSOLOG_COMPILE -Wall -g -Werror \
-Wmissing-prototypes -Wcast-align
# -pedantic-errors -std=c99
Modified: projects/haf/trunk/ke-recv-extra/src/events.c
===================================================================
--- projects/haf/trunk/ke-recv-extra/src/events.c 2009-06-08 11:57:23 UTC (rev 18657)
+++ projects/haf/trunk/ke-recv-extra/src/events.c 2009-06-08 12:27:30 UTC (rev 18658)
@@ -70,23 +70,27 @@
static void handle_e_lowmem_on_signal()
{
+ ULOG_DEBUG_F("sending lowmem_on");
send_lowmem_state_on();
send_user_lowmem_on_signal();
}
static void handle_e_lowmem_off_signal()
{
+ ULOG_DEBUG_F("sending lowmem_off");
send_lowmem_state_off();
send_user_lowmem_off_signal();
}
static void handle_e_bgkill_on_signal()
{
+ ULOG_DEBUG_F("sending bgkill_on");
send_bgkill_on_signal();
}
static void handle_e_bgkill_off_signal()
{
+ ULOG_DEBUG_F("sending bgkill_off");
send_bgkill_off_signal();
}
Modified: projects/haf/trunk/ke-recv-extra/src/hulda.c
===================================================================
--- projects/haf/trunk/ke-recv-extra/src/hulda.c 2009-06-08 11:57:23 UTC (rev 18657)
+++ projects/haf/trunk/ke-recv-extra/src/hulda.c 2009-06-08 12:27:30 UTC (rev 18658)
@@ -3,7 +3,7 @@
This file is part of ke-recv-extra.
- Copyright (C) 2004-2008 Nokia Corporation. All rights reserved.
+ Copyright (C) 2004-2009 Nokia Corporation. All rights reserved.
Author: Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>
@@ -27,6 +27,7 @@
#include <config.h>
#include "hulda.h"
#include "events.h"
+#include <dbus/dbus-glib-lowlevel.h>
const char* sysfs_lowmem_file = NULL;
const char* sysfs_bgkill_file = NULL;
- Previous message: [maemo-commits] r18657 - in projects/haf/trunk/ke-recv: debian src
- Next message: [maemo-commits] r18659 - in projects/haf/trunk/ke-recv: debian src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
