summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwtchang%redhat.com <devnull@localhost>2005-03-09 01:46:51 +0000
committerwtchang%redhat.com <devnull@localhost>2005-03-09 01:46:51 +0000
commita0f9fe9531288a1348271633cabe7a441d8696df (patch)
tree8a3bd47400c9b8eb9c0693533cef8d1c7278aca5
parent3d9613a42a25783e67f8ea6ad60a915ec635794f (diff)
downloadnspr-hg-a0f9fe9531288a1348271633cabe7a441d8696df.tar.gz
Bugzilla Bug 279817: removed the NODL_TABLE code. It was added for Win16.
-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 */