From 7267ee67eb1a7a92dbd189e1c471daf7b630bac5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fredrik=20H=C3=BCbinette=20=28Hubbe=29?= <hubbe@hubbe.net>
Date: Thu, 13 May 1999 00:21:54 -0700
Subject: [PATCH] fix for threads on NT

Rev: src/modules/files/file.c:1.154
Rev: src/modules/files/sendfile.c:1.19
---
 src/modules/files/file.c     | 4 ++--
 src/modules/files/sendfile.c | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/modules/files/file.c b/src/modules/files/file.c
index 343aed767f..0e713d48b8 100644
--- a/src/modules/files/file.c
+++ b/src/modules/files/file.c
@@ -5,7 +5,7 @@
 \*/
 /**/
 #include "global.h"
-RCSID("$Id: file.c,v 1.153 1999/05/09 10:28:00 mirar Exp $");
+RCSID("$Id: file.c,v 1.154 1999/05/13 07:21:54 hubbe Exp $");
 #include "fdlib.h"
 #include "interpret.h"
 #include "svalue.h"
@@ -2231,7 +2231,7 @@ struct new_thread_data
   INT32 from, to;
 };
 
-static void *proxy_thread(void * data)
+static TH_RETURN_TYPE proxy_thread(void * data)
 {
   char buffer[READ_BUFFER];
   struct new_thread_data *p=(struct new_thread_data *)data;
diff --git a/src/modules/files/sendfile.c b/src/modules/files/sendfile.c
index 953da777b7..cd214a982c 100644
--- a/src/modules/files/sendfile.c
+++ b/src/modules/files/sendfile.c
@@ -1,5 +1,5 @@
 /*
- * $Id: sendfile.c,v 1.18 1999/05/13 07:02:35 neotron Exp $
+ * $Id: sendfile.c,v 1.19 1999/05/13 07:20:54 hubbe Exp $
  *
  * Sends headers + from_fd[off..off+len-1] + trailers to to_fd asyncronously.
  *
@@ -305,7 +305,7 @@ int send_iov(int fd, struct iovec *iov, int iovcnt)
   return sent;
 }
 
-void *worker(void *this_)
+TH_RETURN_TYPE worker(void *this_)
 {
   struct pike_sendfile *this = this_;
 
-- 
GitLab