X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Fpppd.h;h=ed50f9b3557b60751711af17780bae6365057266;hb=59342ab622a96393d25d3a2f0592c8675e771295;hp=135fd35eb1e7aef961cafc58230ab6e789e98711;hpb=ba7f7e053daae846a54a1d08d3d133a5f1266ace;p=ppp.git diff --git a/pppd/pppd.h b/pppd/pppd.h index 135fd35..ed50f9b 100644 --- a/pppd/pppd.h +++ b/pppd/pppd.h @@ -43,28 +43,18 @@ #ifndef PPP_PPPD_H #define PPP_PPPD_H -#ifdef HAVE_STDARG_H #include -#endif - -#ifdef HAVE_STDBOOL_H #include -#endif - -#ifdef HAVE_STDDEF_H #include -#endif - -#ifdef HAVE_STDINT_H #include -#endif - -#ifdef HAVE_SYS_TYPES_H #include -#endif #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + /* * Limits */ @@ -574,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 */