From 233f48b64d5224e97f310628400d015b4e631a03 Mon Sep 17 00:00:00 2001 From: erin_yueh Date: Tue, 18 Mar 2008 05:43:01 +0000 Subject: gsmd: fixing the missing prototype (Sudharshan S) git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@4216 99fdad57-331a-0410-800a-d7fa5415bdb3 --- include/libgsmd/misc.h | 3 +++ src/util/shell.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/include/libgsmd/misc.h b/include/libgsmd/misc.h index 9100260..54e2940 100644 --- a/include/libgsmd/misc.h +++ b/include/libgsmd/misc.h @@ -77,4 +77,7 @@ extern int lgsm_get_battery(struct lgsm_handle *lh); /* Enable vibrator */ extern int lgsm_phone_vibrator(struct lgsm_handle *lh, int enable); +/* Get Antenna Power status */ +extern int lgsm_get_power_status(struct lgsm_handle *lh); + #endif diff --git a/src/util/shell.c b/src/util/shell.c index b0d5b41..39f1cb1 100644 --- a/src/util/shell.c +++ b/src/util/shell.c @@ -686,7 +686,7 @@ int shell_main(struct lgsm_handle *lgsmh, int sync) lgsm_phone_power(lgsmh, 0); } else if (!strcmp(buf, "gos")) { printf("Get Antenna status\n"); - lgsm_get_power_status(lgsmh, 0); + lgsm_get_power_status(lgsmh); } else if (!strcmp(buf, "V")) { printf("Vibrator-Enable\n"); lgsm_phone_vibrator(lgsmh, 1); -- cgit v1.2.3