X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=pppd%2Feui64.h;h=c24733d1248ac16b372926178f0206d341311ec6;hb=4f3e40659fcccce45068473ae94cfead18260c77;hp=0f6b6fd46647aa05ab2b6b6e35fd823bc77ef91a;hpb=f53a48eb9d74db3c71938e114b7f489c339bc003;p=ppp.git diff --git a/pppd/eui64.h b/pppd/eui64.h index 0f6b6fd..c24733d 100644 --- a/pppd/eui64.h +++ b/pppd/eui64.h @@ -32,15 +32,15 @@ * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $Id: eui64.h,v 1.6 2002/12/04 23:03:32 paulus Exp $ -*/ + */ +#ifndef PPP_EUI64_H +#define PPP_EUI64_H -#ifndef __EUI64_H__ -#define __EUI64_H__ +#include "pppdconf.h" -#if !defined(INET6) -#error "this file should only be included when INET6 is defined" -#endif /* not defined(INET6) */ +#ifdef __cplusplus +extern "C" { +#endif #if defined(SOL2) #include @@ -108,7 +108,10 @@ typedef union } while (0) #define eui64_setlo32(e, l) eui64_set32(e, l) -char *eui64_ntoa __P((eui64_t)); /* Returns ascii representation of id */ +char *eui64_ntoa(eui64_t); /* Returns ascii representation of id */ -#endif /* __EUI64_H__ */ +#ifdef __cplusplus +} +#endif +#endif /* PPP_EUI64_H */