X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Ffsm.h;fp=pppd%2Ffsm.h;h=50f75e69a2741880890f32020dcd8b202cf34af4;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=071b844448aa59ba2bc44c9b01ee90f8735f6198;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34;p=ppp.git 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