From fc8e4837a936bb1b4bd19bdd54660878b3efe02c Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 18 Apr 2010 12:10:30 +0000 Subject: Add const keyword to the demo function parameters where possible. --- Projects/Webserver/Lib/DHCPClientApp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Projects/Webserver/Lib/DHCPClientApp.h') diff --git a/Projects/Webserver/Lib/DHCPClientApp.h b/Projects/Webserver/Lib/DHCPClientApp.h index 702f79704c..fc43f6be5a 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 -- cgit v1.2.3