diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-11 17:39:00 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-11 17:39:00 +0000 |
commit | 334f70aa80ecfa05a42c6006cb49d14f05555fa8 (patch) | |
tree | 7d5202f43f4613dd9cc15b72434a3881ae65e5e9 /LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h | |
parent | d5e84db5ab84d05d135d2522a419db65a4491628 (diff) | |
download | lufa-334f70aa80ecfa05a42c6006cb49d14f05555fa8.tar.gz lufa-334f70aa80ecfa05a42c6006cb49d14f05555fa8.tar.bz2 lufa-334f70aa80ecfa05a42c6006cb49d14f05555fa8.zip |
Add some missing function attributes.
Diffstat (limited to 'LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h')
-rw-r--r-- | LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h b/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h index 9a80132ec..d455cc98b 100644 --- a/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h +++ b/LUFA/Drivers/USB/Class/Device/RNDISClassDevice.h @@ -137,7 +137,7 @@ * * \return Boolean \c true if a packet is waiting to be read in by the host, \c false otherwise. */ - bool RNDIS_Device_IsPacketReceived(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo); + bool RNDIS_Device_IsPacketReceived(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo) ATTR_NON_NULL_PTR_ARG(1); /** Retrieves the next pending packet from the device, discarding the remainder of the RNDIS packet header to leave * only the packet contents for processing by the device in the nominated buffer. @@ -153,7 +153,7 @@ */ uint8_t RNDIS_Device_ReadPacket(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo, void* Buffer, - uint16_t* const PacketLength); + uint16_t* const PacketLength) ATTR_NON_NULL_PTR_ARG(1); /** Sends the given packet to the attached RNDIS device, after adding a RNDIS packet message header. * @@ -168,7 +168,7 @@ */ uint8_t RNDIS_Device_SendPacket(USB_ClassInfo_RNDIS_Device_t* const RNDISInterfaceInfo, void* Buffer, - const uint16_t PacketLength); + const uint16_t PacketLength) ATTR_NON_NULL_PTR_ARG(1); /* Private Interface - For use in library only: */ #if !defined(__DOXYGEN__) |