[PATCH] Replace Glib type with standard C type

Zhang, Zhenhua zhenhua.zhang at intel.com
Fri Oct 23 03:20:13 PDT 2009


Hi,

Below patch is to replace Glib type with standard C type in hfpmodem.h, like guint, guint8, etc.

Please review it.

Regards,
Zhenhua

---
 drivers/hfpmodem/hfpmodem.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/hfpmodem/hfpmodem.h b/drivers/hfpmodem/hfpmodem.h
index 6c6ab6f..c4e2a34 100644
--- a/drivers/hfpmodem/hfpmodem.h
+++ b/drivers/hfpmodem/hfpmodem.h
@@ -55,10 +55,10 @@ enum hfp_indicator {
 
 struct hfp_data {
 	GAtChat *chat;
-	guint ag_features;
-	guint hf_features;
-	guint8 cind_pos[HFP_INDICATOR_LAST];
-	gint cind_val[HFP_INDICATOR_LAST];
+	unsigned int ag_features;
+	unsigned int hf_features;
+	unsigned char cind_pos[HFP_INDICATOR_LAST];
+	unsigned int cind_val[HFP_INDICATOR_LAST];
 };
 
 extern void hfp_voicecall_init();
-- 
1.6.1.3
 


More information about the ofono mailing list