Make headers in extras more cpp friendly
This commit is contained in:
parent
2994a566a6
commit
57cb9b925c
12 changed files with 130 additions and 29 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue