X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Ffsm.h;h=50f75e69a2741880890f32020dcd8b202cf34af4;hp=071b844448aa59ba2bc44c9b01ee90f8735f6198;hb=HEAD;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace diff --git a/pppd/fsm.h b/pppd/fsm.h index 071b844..50f75e6 100644 --- a/pppd/fsm.h +++ b/pppd/fsm.h @@ -46,12 +46,15 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + /* * Packet header = Code, id, length. */ #define HEADERLEN 4 - /* * CP (LCP, IPCP, etc.) codes. */ @@ -163,4 +166,8 @@ void fsm_sdata (fsm *, int, int, unsigned char *, int); */ extern int peer_mru[]; /* currently negotiated peer MRU (per unit) */ +#ifdef __cplusplus +} #endif + +#endif // PPP_FSM_H