X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppd.h;h=ed50f9b3557b60751711af17780bae6365057266;hp=9861ebc99ffe7fcff00a9859a43f58479ed0ca51;hb=4f3e40659fcccce45068473ae94cfead18260c77;hpb=827e4952d6bcc8dd9c8fdda54a509e5b59685c34 diff --git a/pppd/pppd.h b/pppd/pppd.h index 9861ebc..ed50f9b 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -51,6 +51,10 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + /* * Limits */ @@ -560,4 +564,8 @@ extern int (*allowed_address_hook)(uint32_t addr); extern void (*snoop_recv_hook)(unsigned char *p, int len); extern void (*snoop_send_hook)(unsigned char *p, int len); +#ifdef __cplusplus +} +#endif + #endif /* PPP_PPPD_H */