projects
/
platform
/
core
/
telephony
/
tel-plugin-at_standard.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dfb6283
)
desc_at: Add at_ps module calls and remove useless headers
author
Guillaume Zajac
<guillaume.zajac@linux.intel.com>
Tue, 4 Dec 2012 11:09:18 +0000
(12:09 +0100)
committer
wootak.jung
<wootak.jung@samsung.com>
Sun, 24 Mar 2013 06:49:34 +0000
(15:49 +0900)
Change-Id: I69dd3a8f3108e3437c59c47e34fea9c38070e07f
src/desc_at.c
patch
|
blob
|
history
diff --git
a/src/desc_at.c
b/src/desc_at.c
index
b937080
..
326d6d7
100644
(file)
--- a/
src/desc_at.c
+++ b/
src/desc_at.c
@@
-16,16
+16,12
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#include <stdio.h>
-#include <stdlib.h>
-#include <ctype.h>
-#include <string.h>
#include <glib.h>
#include <tcore.h>
#include <plugin.h>
#include <glib.h>
#include <tcore.h>
#include <plugin.h>
-#include <hal.h>
-#include
<server.h>
+
+#include
"at_ps.h"
static gboolean on_load()
{
static gboolean on_load()
{
@@
-41,6
+37,9
@@
static gboolean on_init(TcorePlugin *p)
dbg("i'm init!");
dbg("i'm init!");
+ if (at_ps_init(p) == FALSE)
+ return FALSE;
+
return TRUE;
}
return TRUE;
}
@@
-49,6
+48,8
@@
static void on_unload(TcorePlugin *p)
if (!p)
return;
if (!p)
return;
+ at_ps_exit(p);
+
dbg("i'm unload");
}
dbg("i'm unload");
}