Make headers in extras more cpp friendly

This commit is contained in:
UncleRus 2016-10-24 18:09:17 +05:00 committed by rus
parent 2994a566a6
commit 57cb9b925c
12 changed files with 130 additions and 29 deletions

View file

@ -14,6 +14,10 @@
#define DHCPSERVER_LEASE_TIME 3600
#endif
#ifdef __cplusplus
extern "C" {
#endif
/* Start DHCP server.
Static IP of server should already be set and network interface enabled.
@ -30,4 +34,8 @@ void dhcpserver_get_lease(const ip_addr_t *first_client_addr, uint8_t max_leases
*/
void dhcpserver_stop(void);
#ifdef __cplusplus
}
#endif
#endif