This is the mail archive of the cygwin-cvs@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] miscfuncs.cc: Drop unneeded includes and unused global variable


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=19f9a9799f321279b058a8838974b8628b14e1ba

commit 19f9a9799f321279b058a8838974b8628b14e1ba
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Thu Jan 19 21:11:55 2017 +0100

    miscfuncs.cc: Drop unneeded includes and unused global variable
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/miscfuncs.cc | 12 ------------
 1 file changed, 12 deletions(-)

diff --git a/winsup/cygwin/miscfuncs.cc b/winsup/cygwin/miscfuncs.cc
index 63e60f0..00ae30d 100644
--- a/winsup/cygwin/miscfuncs.cc
+++ b/winsup/cygwin/miscfuncs.cc
@@ -10,22 +10,10 @@ details. */
 #include "miscfuncs.h"
 #include <ntsecapi.h>
 #include <sys/uio.h>
-#include <alloca.h>
-#include <limits.h>
 #include <sys/param.h>
-#include <wchar.h>
-#include "cygtls.h"
 #include "ntdll.h"
 #include "path.h"
 #include "fhandler.h"
-#include "dtable.h"
-#include "cygheap.h"
-#include "pinfo.h"
-#include "exception.h"
-#include "sigproc.h"
-
-long tls_ix = -1;
-
 
 int __reg2
 check_invalid_virtual_addr (const void *s, unsigned sz)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]