summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin')
-rw-r--r--winsup/cygwin/cygheap.cc6
-rw-r--r--winsup/cygwin/cygprops.h21
-rw-r--r--winsup/cygwin/globals.cc14
3 files changed, 0 insertions, 41 deletions
diff --git a/winsup/cygwin/cygheap.cc b/winsup/cygwin/cygheap.cc
index 4932cf0b1..7a18d18a6 100644
--- a/winsup/cygwin/cygheap.cc
+++ b/winsup/cygwin/cygheap.cc
@@ -219,12 +219,6 @@ init_cygheap::init_installation_root ()
installation_root)))
break;
}
-
- if (cygwin_props.disable_key)
- {
- installation_key.Length = 0;
- installation_key.Buffer[0] = L'\0';
- }
}
void __stdcall
diff --git a/winsup/cygwin/cygprops.h b/winsup/cygwin/cygprops.h
deleted file mode 100644
index 70ea3cc5a..000000000
--- a/winsup/cygwin/cygprops.h
+++ /dev/null
@@ -1,21 +0,0 @@
-/* cygprops.h: Cygwin DLL properties
-
- Copyright 2009, 2012 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. */
-
-#pragma once
-/* DLL properties data. */
-struct cygwin_props_t
-{
- char magic[68];
- ULONG size;
- ULONG disable_key;
-};
-
-#define CYGWIN_PROPS_MAGIC \
- "Fortunately, I keep my feathers numbered for just such an emergency"
diff --git a/winsup/cygwin/globals.cc b/winsup/cygwin/globals.cc
index 80e0f0db3..990158e92 100644
--- a/winsup/cygwin/globals.cc
+++ b/winsup/cygwin/globals.cc
@@ -13,7 +13,6 @@ details. */
#include "winsup.h"
#include "cygtls.h"
#include "perprocess.h"
-#include "cygprops.h"
#include "thread.h"
#include <malloc.h>
#include <cygwin/version.h>
@@ -160,19 +159,6 @@ const int __collate_load_error = 0;
extern UNICODE_STRING _RDATA ro_u_natdev = _ROU (L"Device");
#undef _ROU
- /* Cygwin properties are meant to be readonly data placed in the DLL, but
- which can be changed by external tools to make adjustments to the
- behaviour of a DLL based on the binary of the DLL itself. This is
- different from $CYGWIN since it only affects that very DLL, not all
- DLLs which have access to the $CYGWIN environment variable. We use the
- same _RDATA trick as for the above UNICODE_STRINGs. */
- extern cygwin_props_t _RDATA cygwin_props =
- {
- CYGWIN_PROPS_MAGIC,
- sizeof (cygwin_props_t),
- 0
- };
-
/* This is an exported copy of environ which can be used by DLLs
which use cygwin.dll. */
char **__cygwin_environ;