All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/4] Remove initialisers for enum ofono_atom_type.
@ 2011-01-19  8:07 Andrzej Zaborowski
  2011-01-19  8:07 ` [PATCH 1/2] simutil: SIM applications directory decoding utils Andrzej Zaborowski
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Andrzej Zaborowski @ 2011-01-19  8:07 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 2053 bytes --]

They have no effect, enum already ensures the values are unique.
---
 src/ofono.h |   48 ++++++++++++++++++++++++------------------------
 1 files changed, 24 insertions(+), 24 deletions(-)

diff --git a/src/ofono.h b/src/ofono.h
index 77567c2..badc2ee 100644
--- a/src/ofono.h
+++ b/src/ofono.h
@@ -103,30 +103,30 @@ void __ofono_modem_append_properties(struct ofono_modem *modem,
 struct ofono_atom;
 
 enum ofono_atom_type {
-	OFONO_ATOM_TYPE_DEVINFO = 0,
-	OFONO_ATOM_TYPE_CALL_BARRING = 1,
-	OFONO_ATOM_TYPE_CALL_FORWARDING = 2,
-	OFONO_ATOM_TYPE_CALL_METER = 3,
-	OFONO_ATOM_TYPE_CALL_SETTINGS = 4,
-	OFONO_ATOM_TYPE_NETREG = 5,
-	OFONO_ATOM_TYPE_PHONEBOOK = 6,
-	OFONO_ATOM_TYPE_SMS = 7,
-	OFONO_ATOM_TYPE_SIM = 8,
-	OFONO_ATOM_TYPE_USSD = 9,
-	OFONO_ATOM_TYPE_VOICECALL = 10,
-	OFONO_ATOM_TYPE_HISTORY = 11,
-	OFONO_ATOM_TYPE_SSN = 12,
-	OFONO_ATOM_TYPE_MESSAGE_WAITING = 13,
-	OFONO_ATOM_TYPE_CBS = 14,
-	OFONO_ATOM_TYPES_CALL_VOLUME = 15,
-	OFONO_ATOM_TYPE_GPRS = 16,
-	OFONO_ATOM_TYPE_GPRS_CONTEXT = 17,
-	OFONO_ATOM_TYPE_RADIO_SETTINGS = 18,
-	OFONO_ATOM_TYPE_AUDIO_SETTINGS = 19,
-	OFONO_ATOM_TYPE_STK = 20,
-	OFONO_ATOM_TYPE_NETTIME = 21,
-	OFONO_ATOM_TYPE_CTM = 22,
-	OFONO_ATOM_TYPE_CDMA_VOICECALL_MANAGER = 23,
+	OFONO_ATOM_TYPE_DEVINFO,
+	OFONO_ATOM_TYPE_CALL_BARRING,
+	OFONO_ATOM_TYPE_CALL_FORWARDING,
+	OFONO_ATOM_TYPE_CALL_METER,
+	OFONO_ATOM_TYPE_CALL_SETTINGS,
+	OFONO_ATOM_TYPE_NETREG,
+	OFONO_ATOM_TYPE_PHONEBOOK,
+	OFONO_ATOM_TYPE_SMS,
+	OFONO_ATOM_TYPE_SIM,
+	OFONO_ATOM_TYPE_USSD,
+	OFONO_ATOM_TYPE_VOICECALL,
+	OFONO_ATOM_TYPE_HISTORY,
+	OFONO_ATOM_TYPE_SSN,
+	OFONO_ATOM_TYPE_MESSAGE_WAITING,
+	OFONO_ATOM_TYPE_CBS,
+	OFONO_ATOM_TYPES_CALL_VOLUME,
+	OFONO_ATOM_TYPE_GPRS,
+	OFONO_ATOM_TYPE_GPRS_CONTEXT,
+	OFONO_ATOM_TYPE_RADIO_SETTINGS,
+	OFONO_ATOM_TYPE_AUDIO_SETTINGS,
+	OFONO_ATOM_TYPE_STK,
+	OFONO_ATOM_TYPE_NETTIME,
+	OFONO_ATOM_TYPE_CTM,
+	OFONO_ATOM_TYPE_CDMA_VOICECALL_MANAGER,
 };
 
 enum ofono_atom_watch_condition {
-- 
1.7.1.86.g0e460.dirty


^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2011-01-21 17:25 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-19  8:07 [PATCH 1/4] Remove initialisers for enum ofono_atom_type Andrzej Zaborowski
2011-01-19  8:07 ` [PATCH 1/2] simutil: SIM applications directory decoding utils Andrzej Zaborowski
2011-01-20 17:24   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 2/2] unit: Add a test for applications directory decoding utility Andrzej Zaborowski
2011-01-20 17:24   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 2/4] Add SIM authentication atom's driver definitions Andrzej Zaborowski
2011-01-20 17:24   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 3/4] Add the sim-auth atom Andrzej Zaborowski
2011-01-20 17:25   ` Denis Kenzior
2011-01-19  8:07 ` [PATCH 4/4] atmodem: sim-auth atom driver Andrzej Zaborowski
2011-01-20 16:21   ` Jeevaka.Badrappan
2011-01-20 17:30     ` Denis Kenzior
2011-01-21 17:07       ` Pekka Pessi
2011-01-21 17:25         ` Denis Kenzior
2011-01-20 17:25   ` Denis Kenzior
2011-01-20 17:23 ` [PATCH 1/4] Remove initialisers for enum ofono_atom_type Denis Kenzior

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.