diff --git a/src/modules/files/file.c b/src/modules/files/file.c
index 343aed767f01b5f94befe978460b3f24bdbaf942..0e713d48b85902dc0b61d53c90482b9acb853bdb 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 953da777b73d9e1f2464f438b271cd3f44c747ce..cd214a982cf57ca47a30166f5c9d4055c84cfd57 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_;