summaryrefslogtreecommitdiffstats
path: root/src/common.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-03-20 02:26:57 +0100
committerMarcel Holtmann <marcel@holtmann.org>2010-03-20 02:26:57 +0100
commit256c6e14c7947a10833cfcacf2ee74422d0d7563 (patch)
treec38f73fa317a9c4d3dfe4af300f79cf573273366 /src/common.h
parentd6e78f78287599c94dde744e1b856b27f6d1b884 (diff)
downloadofono-256c6e14c7947a10833cfcacf2ee74422d0d7563.tar.bz2
Revert the default statement for PIN type checking
Also fix the coding style for the switch statement and remove the number assignment for an internal enum.
Diffstat (limited to 'src/common.h')
-rw-r--r--src/common.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/common.h b/src/common.h
index d166f485..c43e46d7 100644
--- a/src/common.h
+++ b/src/common.h
@@ -116,10 +116,10 @@ enum ss_cssu {
};
enum pin_type {
- PIN_TYPE_NONE = 0,
- PIN_TYPE_PIN = 1,
- PIN_TYPE_PUK = 2,
- PIN_TYPE_NET = 3,
+ PIN_TYPE_NONE,
+ PIN_TYPE_PIN,
+ PIN_TYPE_PUK,
+ PIN_TYPE_NET,
};
const char *telephony_error_to_str(const struct ofono_error *error);