summaryrefslogtreecommitdiffstats
path: root/src/utils-upoll.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils-upoll.h')
-rw-r--r--src/utils-upoll.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/utils-upoll.h b/src/utils-upoll.h
index 705fbc36..56692d3f 100644
--- a/src/utils-upoll.h
+++ b/src/utils-upoll.h
@@ -15,6 +15,8 @@
* limitations under the License.
*/
+#pragma once
+
struct upoll;
extern int upoll_is_valid(struct upoll *upoll);
@@ -28,5 +30,7 @@ extern void upoll_on_hangup(struct upoll *upoll, void (*process)(void *closure))
extern void upoll_close(struct upoll *upoll);
-extern void upoll_wait(int timeout);
+extern int upoll_wait(int timeout);
+
+