summaryrefslogtreecommitdiff
path: root/tinyusb/host
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-01-27 13:50:40 +0700
committerhathach <[email protected]>2013-01-27 13:50:40 +0700
commit535f33002670dc0ca20aa73d7c025faea15b88d0 (patch)
treed043b0dcdc573d011e9dad06882720190ba74a3c /tinyusb/host
parentf613c32422a9b1815785d38427d3096a97bd3457 (diff)
update license year from 2012 to 2013
Diffstat (limited to 'tinyusb/host')
-rw-r--r--tinyusb/host/hcd.c2
-rw-r--r--tinyusb/host/hcd.h2
-rw-r--r--tinyusb/host/usbd_host.c2
-rw-r--r--tinyusb/host/usbd_host.h8
4 files changed, 7 insertions, 7 deletions
diff --git a/tinyusb/host/hcd.c b/tinyusb/host/hcd.c
index 0fb6e68df..2c085566e 100644
--- a/tinyusb/host/hcd.c
+++ b/tinyusb/host/hcd.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/tinyusb/host/hcd.h b/tinyusb/host/hcd.h
index 63749d75b..9ea26bdda 100644
--- a/tinyusb/host/hcd.h
+++ b/tinyusb/host/hcd.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/tinyusb/host/usbd_host.c b/tinyusb/host/usbd_host.c
index 772503d28..65794b8ad 100644
--- a/tinyusb/host/usbd_host.c
+++ b/tinyusb/host/usbd_host.c
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
diff --git a/tinyusb/host/usbd_host.h b/tinyusb/host/usbd_host.h
index 8fb76a5a9..e28ef812d 100644
--- a/tinyusb/host/usbd_host.h
+++ b/tinyusb/host/usbd_host.h
@@ -7,7 +7,7 @@
/*
* Software License Agreement (BSD License)
- * Copyright (c) 2012, hathach (tinyusb.net)
+ * Copyright (c) 2013, hathach (tinyusb.net)
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification,
@@ -133,7 +133,7 @@ typedef uint32_t tusb_handle_device_t;
//--------------------------------------------------------------------+
void tusbh_device_mounting_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl);
void tusbh_device_mounted_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl);
-tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl, uint8_t const configure_number);
+tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl, uint8_t const configure_number) ATTR_WARN_UNUSED_RESULT;
//--------------------------------------------------------------------+
@@ -141,8 +141,8 @@ tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl,
//--------------------------------------------------------------------+
#ifdef _TINY_USB_SOURCE_FILE_
-bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl);
-pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl);
+bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT;
+pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl) ATTR_WARN_UNUSED_RESULT;
#endif