aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcvs2svn <>2001-11-28 02:36:33 +0000
committercvs2svn <>2001-11-28 02:36:33 +0000
commit5cce68ea7593cd98d67ddb7d4d47b0658650c54a (patch)
tree7bb777f1b6ccdab523cd55b29ff5a83789801bf9
parent4237bcae4a699edf96d1d3a7a570a0c87d7d1765 (diff)
downloadnewlib-5cce68ea7593cd98d67ddb7d4d47b0658650c54a.zip
newlib-5cce68ea7593cd98d67ddb7d4d47b0658650c54a.tar.gz
newlib-5cce68ea7593cd98d67ddb7d4d47b0658650c54a.tar.bz2
Sprout from cygwin-1-3-3 2001-09-11 20:01:03 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch 'cygwin-1-3-3'.' Cherrypick from master 2001-11-28 02:36:32 UTC Christopher Faylor <me@cgf.cx> '* winsup.h: Reorganize to avoid use of experimental stuff.': winsup/cygwin/shortcut.c Delete: winsup/cygwin/host_dependent.h
-rw-r--r--winsup/cygwin/host_dependent.h30
-rw-r--r--winsup/cygwin/shortcut.c2
2 files changed, 1 insertions, 31 deletions
diff --git a/winsup/cygwin/host_dependent.h b/winsup/cygwin/host_dependent.h
deleted file mode 100644
index 94e1546..0000000
--- a/winsup/cygwin/host_dependent.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/* host_dependent.h: host dependent Cygwin header file.
-
- Copyright 2000 Red Hat, Inc.
-
-This file is part of Cygwin.
-
-This software is a copyrighted work licensed under the terms of the
-Cygwin license. Please consult the file "CYGWIN_LICENSE" for
-details. */
-
-/* Portions of the cygwin DLL require special constants whose values
- are dependent on the host system. Rather than dynamically
- determine those values whenever they are required, initialize these
- values once at process start-up. */
-
-class host_dependent_constants
-{
- public:
- void init (void);
-
- /* Used by fhandler_disk_file::lock which needs a platform-specific
- upper word value for locking entire files. */
- DWORD win32_upper;
-
- /* fhandler_base::open requires host dependent file sharing
- attributes. */
- int shared;
-};
-
-extern host_dependent_constants host_dependent;
diff --git a/winsup/cygwin/shortcut.c b/winsup/cygwin/shortcut.c
index d0c511d..55710e8 100644
--- a/winsup/cygwin/shortcut.c
+++ b/winsup/cygwin/shortcut.c
@@ -11,8 +11,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#define WIN32_LEAN_AND_MEAN
-#include <shlobj.h>
#include "winsup.h"
+#include <shlobj.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/mount.h>