add conditional inclusion for header

This commit is contained in:
yrutschle 2021-03-03 18:20:45 +01:00
parent 7e63dedca3
commit e884fc616d

View File

@ -1,5 +1,11 @@
#ifndef UDPLISTENER_H
#define UDPLISTENER_H
/* UDP listener: upon incoming packet, find where it should go
* This is run in its own process and never returns.
*/
void udp_listener(struct listen_endpoint* endpoint, int num_endpoints, int active_endpoint);
#endif /* UDPLISTENER_H */