X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fmagic.h;h=d6094db867b1e3c93c2b8cb035d290576ea024fa;hp=70e4ce528238390da2367aab47b01a3e075fe9b4;hb=HEAD;hpb=fb3529ccfc1868e8563a2dcfbae7b386125fccbc diff --git a/pppd/magic.h b/pppd/magic.h index 70e4ce5..68cbf9b 100644 --- a/pppd/magic.h +++ b/pppd/magic.h @@ -44,10 +44,18 @@ #include "pppdconf.h" +#ifdef __cplusplus +extern "C" { +#endif + void magic_init (void); /* Initialize the magic number generator */ u_int32_t magic (void); /* Returns the next magic number */ /* Fill buffer with random bytes */ void random_bytes (unsigned char *buf, int len); +#ifdef __cplusplus +} #endif + +#endif // PPP_MAGIC_H