* [PATCH] Replace Glib type with standard C type
@ 2009-10-23 10:20 Zhang, Zhenhua
2009-10-23 11:04 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-10-23 18:41 ` Denis Kenzior
0 siblings, 2 replies; 5+ messages in thread
From: Zhang, Zhenhua @ 2009-10-23 10:20 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 843 bytes --]
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
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] Replace Glib type with standard C type
2009-10-23 10:20 [PATCH] Replace Glib type with standard C type Zhang, Zhenhua
@ 2009-10-23 11:04 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-10-23 18:50 ` Denis Kenzior
2009-10-23 18:41 ` Denis Kenzior
1 sibling, 1 reply; 5+ messages in thread
From: =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont @ 2009-10-23 11:04 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 307 bytes --]
On Fri, 23 Oct 2009 18:20:13 +0800, "Zhang, Zhenhua"
<zhenhua.zhang@intel.com> wrote:
> Below patch is to replace Glib type with standard C type in hfpmodem.h,
> like guint, guint8, etc.
I see I am not the only one repulsed by those silly and pointless gtypedefs
:)
--
Rémi Denis-Courmont
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] Replace Glib type with standard C type
2009-10-23 10:20 [PATCH] Replace Glib type with standard C type Zhang, Zhenhua
2009-10-23 11:04 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
@ 2009-10-23 18:41 ` Denis Kenzior
2009-10-24 8:53 ` Marcel Holtmann
1 sibling, 1 reply; 5+ messages in thread
From: Denis Kenzior @ 2009-10-23 18:41 UTC (permalink / raw)
To: ofono
[-- Attachment #1: Type: text/plain, Size: 187 bytes --]
Hi Zhenhua,
> Hi,
>
> Below patch is to replace Glib type with standard C type in hfpmodem.h,
> like guint, guint8, etc.
>
Patch has been applied. Thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-10-24 8:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-23 10:20 [PATCH] Replace Glib type with standard C type Zhang, Zhenhua
2009-10-23 11:04 ` =?unknown-8bit?q?R=C3=A9mi?= Denis-Courmont
2009-10-23 18:50 ` Denis Kenzior
2009-10-23 18:41 ` Denis Kenzior
2009-10-24 8:53 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.