aboutsummaryrefslogtreecommitdiffstats
path: root/Projects/Webserver/Lib/DHCPClientApp.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2010-04-18 12:10:30 +0000
committerDean Camera <dean@fourwalledcubicle.com>2010-04-18 12:10:30 +0000
commitfc8e4837a936bb1b4bd19bdd54660878b3efe02c (patch)
treebc0cdb4c4a2e151f0aac4eb92a63f8d229bb82ff /Projects/Webserver/Lib/DHCPClientApp.h
parent55db57e1ede3c44a3b027cb442fa12e969b37f4b (diff)
downloadlufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.gz
lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.tar.bz2
lufa-fc8e4837a936bb1b4bd19bdd54660878b3efe02c.zip
Add const keyword to the demo function parameters where possible.
Diffstat (limited to 'Projects/Webserver/Lib/DHCPClientApp.h')
-rw-r--r--Projects/Webserver/Lib/DHCPClientApp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/Webserver/Lib/DHCPClientApp.h b/Projects/Webserver/Lib/DHCPClientApp.h
index 702f79704..fc43f6be5 100644
--- a/Projects/Webserver/Lib/DHCPClientApp.h
+++ b/Projects/Webserver/Lib/DHCPClientApp.h
@@ -160,10 +160,10 @@
void DHCPClientApp_Callback(void);
#if defined(INCLUDE_FROM_DHCPCLIENTAPP_C)
- static uint16_t DHCPClientApp_FillDHCPHeader(DHCP_Header_t* DHCPHeader, uint8_t DHCPMessageType,
+ static uint16_t DHCPClientApp_FillDHCPHeader(DHCP_Header_t* const DHCPHeader, const uint8_t DHCPMessageType,
uip_udp_appstate_t* AppState);
static uint8_t DHCPClientApp_SetOption(uint8_t* DHCPOptionList, uint8_t Option, uint8_t DataLen,
void* OptionData);
- static bool DHCPClientApp_GetOption(uint8_t* DHCPOptionList, uint8_t Option, void* Destination);
+ static bool DHCPClientApp_GetOption(const uint8_t* DHCPOptionList, const uint8_t Option, void* const Destination);
#endif
#endif