diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-04-03 22:32:27 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-04-03 22:32:27 -0700 |
commit | c2fb0a16305bf7156cc4e98b9642f37b0e2342d3 (patch) | |
tree | d325665a0c2aba73cdd6d222aec268f2fd2fb934 /gatchat/ppp_cp.c | |
parent | 5772ad5d8b736f9a8639ad3c68beae059f04eb31 (diff) | |
download | ofono-c2fb0a16305bf7156cc4e98b9642f37b0e2342d3.tar.bz2 |
Move PPP constants where they are used
Diffstat (limited to 'gatchat/ppp_cp.c')
-rw-r--r-- | gatchat/ppp_cp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index 46c62c17..63d724d8 100644 --- a/gatchat/ppp_cp.c +++ b/gatchat/ppp_cp.c @@ -46,6 +46,8 @@ static const char *pppcp_state_strings[] = g_free(str); \ } while (0); +#define PPP_HEADROOM 2 + #define pppcp_to_ppp_packet(p) \ (((guint8 *) p) - PPP_HEADROOM) |