mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-21 21:48:56 +00:00
ieee802154/libmac: Eliminate some warnings.
This commit is contained in:
parent
2f975e8f06
commit
a73060ae64
4 changed files with 4 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue