summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-03-09 01:51:12 +0000
committerwtchang%redhat.com <devnull@localhost>2005-03-09 01:51:12 +0000
commit27265a7294bb76f5019da23d42b78a7d906e28b4 (patch)
tree0515ec8bea5cf2e497856016aca39c3f65f4734b
parentf6d04d299fe289306e78e5f58a65b3012c589683 (diff)
downloadnspr-hg-27265a7294bb76f5019da23d42b78a7d906e28b4.tar.gz
Bugzilla Bug 279817: removed the NODL_TABLE code. It was added for Win16.
Tag: NSPRPUB_PRE_4_2_CLIENT_BRANCH
-rw-r--r--pr/src/linking/prlink.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/pr/src/linking/prlink.c b/pr/src/linking/prlink.c
index c80c8c1f..f7ac854d 100644
--- a/pr/src/linking/prlink.c
+++ b/pr/src/linking/prlink.c
@@ -167,10 +167,6 @@ struct _imcb *IAC$GL_IMAGE_LIST = NULL;
#define NEED_LEADING_UNDERSCORE
#endif
-#ifdef XP_PC
-typedef PRStaticLinkTable *NODL_PROC(void);
-#endif
-
/************************************************************************/
struct PRLibrary {
@@ -955,7 +951,6 @@ pr_LoadLibraryByPathname(const char *name, PRIntn flags)
#if defined(WIN32) || defined(WIN16)
{
HINSTANCE h;
- NODL_PROC *pfn;
h = LoadLibrary(name);
if (h < (HINSTANCE)HINSTANCE_ERROR) {
@@ -967,15 +962,6 @@ pr_LoadLibraryByPathname(const char *name, PRIntn flags)
lm->dlh = h;
lm->next = pr_loadmap;
pr_loadmap = lm;
-
- /*
- ** Try to load a table of "static functions" provided by the DLL
- */
-
- pfn = (NODL_PROC *)GetProcAddress(h, "NODL_TABLE");
- if (pfn != NULL) {
- lm->staticTable = (*pfn)();
- }
}
#endif /* WIN32 || WIN16 */