ieee802154/libmac: Eliminate some warnings.

This commit is contained in:
Gregory Nutt 2017-06-19 09:47:39 -06:00
parent 2f975e8f06
commit a73060ae64
4 changed files with 4 additions and 2 deletions

View File

@ -42,6 +42,7 @@
#include <sys/ioctl.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <nuttx/wireless/ieee802154/ieee802154_mac.h>
@ -61,6 +62,5 @@ int ieee802154_getpanid(int fd, FAR uint8_t *panid)
ret = ieee802154_get_req(fd, &req);
IEEE802154_PANIDCOPY(panid, req.attrval.mac.panid);
return ret;
}

View File

@ -42,6 +42,7 @@
#include <sys/ioctl.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <nuttx/wireless/ieee802154/ieee802154_mac.h>
@ -61,6 +62,5 @@ int ieee802154_getsaddr(int fd, FAR uint8_t *saddr)
ret = ieee802154_get_req(fd, &req);
IEEE802154_SADDRCOPY(saddr, req.attrval.mac.saddr);
return ret;
}

View File

@ -43,6 +43,7 @@
#include <sys/ioctl.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <nuttx/wireless/ieee802154/ieee802154_mac.h>

View File

@ -43,6 +43,7 @@
#include <sys/ioctl.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <nuttx/wireless/ieee802154/ieee802154_mac.h>