}
// Internal function to retrieve the table index (and lock the fd mutex)
-int _fd_to_index_and_lock(int fd)
+static int _fd_to_index_and_lock(int fd)
{
int i;
return -1;
}
-OVERLAPPED *create_overlapped(void)
+static OVERLAPPED *create_overlapped(void)
{
OVERLAPPED *overlapped = (OVERLAPPED*) calloc(1, sizeof(OVERLAPPED));
if (overlapped == NULL) {
return overlapped;
}
-void free_overlapped(OVERLAPPED *overlapped)
+static void free_overlapped(OVERLAPPED *overlapped)
{
if (overlapped == NULL)
return;
free(overlapped);
}
-void reset_overlapped(OVERLAPPED *overlapped)
+static void reset_overlapped(OVERLAPPED *overlapped)
{
HANDLE event_handle;
if (overlapped == NULL)
return INVALID_WINFD;
}
-void _free_index(int _index)
+static void _free_index(int _index)
{
// Cancel any async IO (Don't care about the validity of our handles for this)
cancel_io(_index);