From d6517e63fe41799540d9016172999abb9b70abe5 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 5 Apr 2010 10:13:10 -0500 Subject: Refactor: Make the enum assignments explicit They will be used for certain magic later on --- gatchat/ppp_cp.h | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'gatchat/ppp_cp.h') diff --git a/gatchat/ppp_cp.h b/gatchat/ppp_cp.h index 89394e9c..424040b4 100644 --- a/gatchat/ppp_cp.h +++ b/gatchat/ppp_cp.h @@ -36,22 +36,22 @@ enum pppcp_code { }; enum pppcp_event_type { - UP, - DOWN, - OPEN, - CLOSE, - TO_PLUS, - TO_MINUS, - RCR_PLUS, - RCR_MINUS, - RCA, - RCN, - RTR, - RTA, - RUC, - RXJ_PLUS, - RXJ_MINUS, - RXR, + UP = 0, + DOWN = 1, + OPEN = 2, + CLOSE = 3, + TO_PLUS = 4, + TO_MINUS = 5, + RCR_PLUS = 6, + RCR_MINUS = 7, + RCA = 8, + RCN = 9, + RTR = 10, + RTA = 11, + RUC = 12, + RXJ_PLUS = 13, + RXJ_MINUS = 14, + RXR = 15, }; /* option format */ -- cgit v1.2.3