diff --git a/core/net/mac/nullmac.h b/core/net/mac/nullmac.h index 72b78de59..a6f32964b 100644 --- a/core/net/mac/nullmac.h +++ b/core/net/mac/nullmac.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: nullmac.h,v 1.2 2007/05/25 08:07:15 adamdunkels Exp $ + * $Id: nullmac.h,v 1.3 2007/10/23 20:57:37 adamdunkels Exp $ */ /** @@ -46,6 +46,6 @@ extern const struct mac_driver nullmac_driver; -void nullmac_init(const struct radio_driver *r); +const struct mac_driver *nullmac_init(const struct radio_driver *r); #endif /* __NULLMAC_H__ */ diff --git a/core/net/mac/xmac.h b/core/net/mac/xmac.h index a3b3197f5..081e26801 100644 --- a/core/net/mac/xmac.h +++ b/core/net/mac/xmac.h @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: xmac.h,v 1.4 2007/05/25 08:07:15 adamdunkels Exp $ + * $Id: xmac.h,v 1.5 2007/10/23 20:57:37 adamdunkels Exp $ */ /** @@ -46,6 +46,6 @@ extern const struct mac_driver xmac_driver; -void xmac_init(const struct radio_driver *d); +const struct mac_driver *xmac_init(const struct radio_driver *d); #endif /* __XMAC_H__ */