[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev [PATCH][dev19] Dead code removal: SHORT_NAMES
From: |
John Bley |
Subject: |
lynx-dev [PATCH][dev19] Dead code removal: SHORT_NAMES |
Date: |
Sat, 13 Mar 1999 11:27:12 -0500 (EST) |
The SHORT_NAMES "feature" couldn't possibly work with the current source
tree, and 7% of the #defines are backwards anyway so I doubt it ever
really worked. This is an 8KB snip.
--
John Bley - address@hidden
Duke '99 - English/Computer Science
Since English is a mess, it maps well onto the problem space,
which is also a mess, which we call reality. - Larry Wall
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAABrow.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAABrow.h
--- lynx2-8-2/WWW/Library/Implementation/HTAABrow.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAABrow.h Fri Mar 12
22:06:28 1999
@@ -33,11 +33,6 @@
#include <HTAAUtil.h> /* Common parts of AA */
-#ifdef SHORT_NAMES
-#define HTAAcoAu HTAA_composeAuth
-#define HTAAsRWA HTAA_shouldRetryWithAuth
-#endif /*SHORT_NAMES*/
-
/*
Routines for Browser Side Recording of AA Info
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAAFile.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAAFile.h
--- lynx2-8-2/WWW/Library/Implementation/HTAAFile.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAAFile.h Fri Mar 12
22:06:58 1999
@@ -17,12 +17,6 @@
#include <HTList.h> /* HTList */
-#ifdef SHORT_NAMES
-#define HTAAFnRe HTAAFile_nextRec
-#define HTAAFrFi HTAAFile_readField
-#define HTAAFrLi HTAAFile_readList
-#endif /*SHORT_NAMES*/
-
/* Used field separators */
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAAProt.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAAProt.h
--- lynx2-8-2/WWW/Library/Implementation/HTAAProt.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAAProt.h Fri Mar 12
22:08:03 1999
@@ -8,15 +8,6 @@
#include <HTGroup.h>
#include <HTAssoc.h>
-#ifdef SHORT_NAMES
-#define HTAA_getUid HTAAgUid
-#define HTAA_getGid HTAAgGid
-#define HTAA_setDefaultProtection HTAAgDPr
-#define HTAA_setCurrentProtection HTAAsCPr
-#define HTAA_getCurrentProtection HTAAgCPr
-#define HTAA_getDefaultProtection HTAAgDPr
-#define HTAA_clearProtections HTAAclPr
-#endif /*SHORT_NAMES*/
/*
Server's Representation of Document (Tree) Protections
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAAServ.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAAServ.h
--- lynx2-8-2/WWW/Library/Implementation/HTAAServ.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAAServ.h Fri Mar 12
22:09:17 1999
@@ -36,13 +36,6 @@
#include <HTAuth.h> /* Authentication */
-#ifdef SHORT_NAMES
-#define HTAA_statusMessage HTAAstMs
-#define HTAA_checkAuthorization HTAAchAu
-#define HTAA_composeAuthHeaders HTAAcoAH
-#define HTAA_startLogging HTAAsLog
-#endif /*SHORT_NAMES*/
-
extern time_t theTime;
/*
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAAUtil.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAAUtil.h
--- lynx2-8-2/WWW/Library/Implementation/HTAAUtil.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAAUtil.h Fri Mar 12
22:06:48 1999
@@ -32,20 +32,6 @@
#include <HTList.h>
-#ifdef SHORT_NAMES
-#define HTAAScheme_enum HTAASenu
-#define HTAAScheme_name HTAASnam
-#define HTAAMethod_enum HTAAMenu
-#define HTAAMethod_name HTAAMnam
-#define HTAAMethod_inList HTAAMinL
-#define HTAA_templateMatch HTAAteMa
-#define HTAA_makeProtectionTemplate HTAAmaPT
-#define HTAA_parseArgList HTAApALi
-#define HTAA_setupReader HTAAsuRe
-#define HTAA_getUnfoldedLine HTAAgUfL
-#endif /*SHORT_NAMES*/
-
-
/*
Default filenames
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTACL.h
lynx2-8-2-patched/WWW/Library/Implementation/HTACL.h
--- lynx2-8-2/WWW/Library/Implementation/HTACL.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTACL.h Fri Mar 12
22:07:51 1999
@@ -8,12 +8,6 @@
#include <HTAAUtil.h>
#include <HTGroup.h>
-#ifdef SHORT_NAMES
-#define HTAA_openAcl HTAAoACL
-#define HTAA_closeAcl HTAAcACL
-#define HTAA_getAclEntry HTAAgAEn
-#endif /* SHORT_NAMES */
-
/*
Opening Access Control List File
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAccess.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAccess.h
--- lynx2-8-2/WWW/Library/Implementation/HTAccess.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAccess.h Fri Mar 12
22:04:43 1999
@@ -18,13 +18,6 @@ extern char * use_this_url_instead;
#include <HTAnchor.h>
#include <HTFormat.h>
-#ifdef SHORT_NAMES
-#define HTClientHost HTClHost
-#define HTSearchAbsolute HTSeAbso
-#define HTOutputStream HTOuStre
-#define HTOutputFormat HTOuForm
-#endif
-
/* Return codes from load routines:
**
** These codes may be returned by the protocol modules,
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAnchor.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAnchor.h
--- lynx2-8-2/WWW/Library/Implementation/HTAnchor.h Mon Feb 8 05:32:59 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAnchor.h Fri Mar 12
22:07:24 1999
@@ -18,36 +18,6 @@
#include <HTAtom.h>
#include <UCDefs.h>
-#ifdef SHORT_NAMES
-#define HTAnchor_findChild HTAnFiCh
-#define HTAnchor_findChildAndLink HTAnFiLi
-#define HTAnchor_findAddress HTAnFiAd
-#define HTAnchor_delete HTAnDele
-#define HTAnchor_makeLastChild HTAnMaLa
-#define HTAnchor_parent HTAnPare
-#define HTAnchor_setDocument HTAnSeDo
-#define HTAnchor_document HTAnDocu
-#define HTAnchor_setFormat HTAnSeFo
-#define HTAnchor_format HTAnForm
-#define HTAnchor_setIndex HTAnSeIn
-#define HTAnchor_setPrompt HTAnSePr
-#define HTAnchor_isIndex HTAnIsIn
-#define HTAnchor_address HTAnAddr
-#define HTAnchor_hasChildren HTAnHaCh
-#define HTAnchor_title HTAnTitl
-#define HTAnchor_setTitle HTAnSeTi
-#define HTAnchor_appendTitle HTAnApTi
-#define HTAnchor_link HTAnLink
-#define HTAnchor_followMainLink HTAnFoMa
-#define HTAnchor_followTypedLink HTAnFoTy
-#define HTAnchor_makeMainLink HTAnMaMa
-#define HTAnchor_setProtocol HTAnSePr
-#define HTAnchor_protocol HTAnProt
-#define HTAnchor_physical HTAnPhys
-#define HTAnchor_setPhysical HTAnSePh
-#define HTAnchor_methods HtAnMeth
-#endif /* SHORT_NAMES */
-
/* Main definition of anchor
** =========================
*/
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAssoc.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAssoc.h
--- lynx2-8-2/WWW/Library/Implementation/HTAssoc.h Mon Nov 23 05:46:03 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAssoc.h Fri Mar 12
22:08:47 1999
@@ -9,13 +9,6 @@
#include <HTList.h>
-#ifdef SHORT_NAMES
-#define HTAL_new HTAssocList_new
-#define HTAL_del HTAssocList_delete
-#define HTAL_add HTAssocList_add
-#define HTAL_lup HTAssocList_lookup
-#endif /*SHORT_NAMES*/
-
typedef HTList HTAssocList;
typedef struct {
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAtom.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAtom.h
--- lynx2-8-2/WWW/Library/Implementation/HTAtom.h Thu Aug 6 08:28:22 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAtom.h Fri Mar 12
22:06:08 1999
@@ -23,11 +23,6 @@
#include <HTList.h>
-#ifdef SHORT_NAMES
-#define HTAt_for HTAtom_for
-#define HTAt_tMa HTAtom_templateMatches
-#endif /*SHORT_NAMES*/
-
typedef struct _HTAtom HTAtom;
struct _HTAtom {
HTAtom * next;
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTAuth.h
lynx2-8-2-patched/WWW/Library/Implementation/HTAuth.h
--- lynx2-8-2/WWW/Library/Implementation/HTAuth.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTAuth.h Fri Mar 12
22:08:35 1999
@@ -12,11 +12,6 @@
#include <HTAAProt.h>
-#ifdef SHORT_NAMES
-#define HTAA_authenticate HTAAauth
-#endif /* SHORT_NAMES */
-
-
/*
** Server's representation of a user (fields in authentication string)
*/
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTBTree.h
lynx2-8-2-patched/WWW/Library/Implementation/HTBTree.h
--- lynx2-8-2/WWW/Library/Implementation/HTBTree.h Thu Aug 6 08:28:22 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTBTree.h Fri Mar 12
22:05:14 1999
@@ -14,15 +14,6 @@
#include <HTUtils.h>
-#ifdef SHORT_NAMES
-#define HTBTree_new HTBTNew
-#define HTBTree_free HTBTFree
-#define HTBTreeAndObject_free HTBTAOFr
-#define HTBTree_add HTBTAdd
-#define HTBTree_next HTBTNext
-/* #define HTBTree_object HTBTObje already a macro */
-#endif
-
/*
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTChunk.h
lynx2-8-2-patched/WWW/Library/Implementation/HTChunk.h
--- lynx2-8-2/WWW/Library/Implementation/HTChunk.h Thu Dec 3 13:28:20 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTChunk.h Fri Mar 12
22:05:50 1999
@@ -21,16 +21,6 @@ typedef struct {
} HTChunk;
-#ifdef SHORT_NAMES
-#define HTChunkClear HTChClea
-#define HTChunkPutc HTChPutc
-#define HTChunkPuts HTChPuts
-#define HTChunkCreate HTChCrea
-#define HTChunkTerminate HTChTerm
-#define HTChunkEnsure HtChEnsu
-#endif
-
-
/*
*
* Create new chunk
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTFWriter.h
lynx2-8-2-patched/WWW/Library/Implementation/HTFWriter.h
--- lynx2-8-2/WWW/Library/Implementation/HTFWriter.h Thu Aug 6 08:28:22 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTFWriter.h Fri Mar 12
22:05:59 1999
@@ -11,10 +11,6 @@
#include <HTStream.h>
#include <HTFormat.h>
-#ifdef SHORT_NAMES
-#define HTFWriter_new HTFWnew
-#endif
-
extern HTStream * HTFWriter_new PARAMS((FILE * fp));
extern HTStream * HTSaveAndExecute PARAMS((
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTFormat.h
lynx2-8-2-patched/WWW/Library/Implementation/HTFormat.h
--- lynx2-8-2/WWW/Library/Implementation/HTFormat.h Wed Feb 17 09:29:33 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTFormat.h Fri Mar 12
22:07:40 1999
@@ -18,11 +18,6 @@ Preamble
#include <HTAtom.h>
#include <HTList.h>
-#ifdef SHORT_NAMES
-#define HTOutputSource HTOuSour
-#define HTOutputBinary HTOuBina
-#endif
-
/*
The HTFormat type
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTGroup.h
lynx2-8-2-patched/WWW/Library/Implementation/HTGroup.h
--- lynx2-8-2/WWW/Library/Implementation/HTGroup.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTGroup.h Fri Mar 12
22:08:28 1999
@@ -7,13 +7,6 @@
#include <HTList.h>
-#ifdef SHORT_NAMES
-#define HTAA_parseGroupDef HTAApGrD
-#define HTAA_resolveGroupReferences HTAArGrR
-#define HTAA_printGroupDef HTAApGrD
-#define GroupDef_delete HTAAGD_d
-#define HTAA_userAndInetInGroup HTAAuIIG
-#endif /* SHORT_NAMES */
typedef HTList GroupDefList;
typedef HTList ItemList;
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTHistory.h
lynx2-8-2-patched/WWW/Library/Implementation/HTHistory.h
--- lynx2-8-2/WWW/Library/Implementation/HTHistory.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTHistory.h Fri Mar 12
22:09:50 1999
@@ -5,18 +5,6 @@
#include <HTAnchor.h>
-#ifdef SHORT_NAMES
-#define HTHistory_record HTHiReco
-#define HTHistory_backtrack HTHiBack
-#define HTHistory_canBacktrack HTHiCaBa
-#define HTHistory_moveBy HTHiMoBy
-#define HTHistory_canMoveBy HTHiCaMo
-#define HTHistory_read HTHiRead
-#define HTHistory_recall HTHiReca
-#define HTHistory_count HTHiCoun
-#define HTHistory_leavingFrom HTHiLeFr
-#endif
-
/* Navigation
** ==========
*/
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTLex.h
lynx2-8-2-patched/WWW/Library/Implementation/HTLex.h
--- lynx2-8-2/WWW/Library/Implementation/HTLex.h Thu Aug 6 08:28:22 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTLex.h Fri Mar 12
22:08:59 1999
@@ -7,10 +7,6 @@
#include <HTUtils.h>
-#ifdef SHORT_NAMES
-#define lex_verb lex_verbose
-#endif /*SHORT_NAMES*/
-
typedef enum {
LEX_NONE, /* Internally used */
LEX_EOF, /* End of file */
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTList.h
lynx2-8-2-patched/WWW/Library/Implementation/HTList.h
--- lynx2-8-2/WWW/Library/Implementation/HTList.h Mon Jan 18 07:29:20 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTList.h Fri Mar 12
22:06:18 1999
@@ -16,19 +16,6 @@ struct _HTList {
HTList * next;
};
-#ifdef SHORT_NAMES
-#define HTList_new HTLiNew
-#define HTList_delete HTLiDele
-#define HTList_addObject HTLiAdOb
-#define HTList_removeObject HTLiReOb
-#define HTList_removeObjectAt HTLiReAt
-#define HTList_removeLastObject HTLiReLa
-#define HTList_removeFirstObject HTLiReFi
-#define HTList_count HTLiCoun
-#define HTList_indexOf HTLiInOf
-#define HTList_objectAt HTLiObAt
-#endif /* SHORT_NAMES */
-
/* Fast macro to traverse a list. Call it first with copy of the list
** header. It returns the first object and increments the passed list
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTPasswd.h
lynx2-8-2-patched/WWW/Library/Implementation/HTPasswd.h
--- lynx2-8-2/WWW/Library/Implementation/HTPasswd.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTPasswd.h Fri Mar 12
22:08:21 1999
@@ -7,13 +7,6 @@
#include <HTList.h>
-#ifdef SHORT_NAMES
-#define HTAA_encryptPasswd HTAAenPw
-#define HTAA_passwdMatch HTAApwMa
-#define HTAAFile_readPasswdRec HTAAFrPR
-#define HTAA_checkPasswd HTAAchPw
-#endif /* SHORT_NAMES */
-
/*
User Authentication
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTRules.h
lynx2-8-2-patched/WWW/Library/Implementation/HTRules.h
--- lynx2-8-2/WWW/Library/Implementation/HTRules.h Mon Feb 8 05:32:59 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTRules.h Fri Mar 12
22:06:38 1999
@@ -31,10 +31,6 @@ typedef enum _HTRuleOp {
#ifndef NO_RULES
-#ifdef SHORT_NAMES
-#define HTSearchScript HTSearSc
-#endif /*SHORT_NAMES*/
-
/*
Server Side Script Execution
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTStyle.h
lynx2-8-2-patched/WWW/Library/Implementation/HTStyle.h
--- lynx2-8-2/WWW/Library/Implementation/HTStyle.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTStyle.h Fri Mar 12
22:07:09 1999
@@ -36,23 +36,6 @@ Overriding this module
typedef long int HTFont; /* Dummy definition instead */
-#ifdef SHORT_NAMES
-#define HTStyleNew HTStNew
-#define HTStyleFree HTStFree
-#define HTStyleRead HTStRead
-#define HTStyleWrite HTStWrite
-#define HTStyleSheetNew HTStShNe
-#define HTStyleSheetFree HTStShFr
-#define HTStyleNamed HTStName
-#define HTStyleForParagraph HTStFoPa
-#define HTStyleMatching HTStMatc
-#define HTStyleForRun HTStFoRu
-#define HTStyleSheetAddStyle HTStShAd
-#define HTStyleSheetRemoveStyle HTStShRm
-#define HTStyleSheetRead HTStShRe
-#define HTStyleSheetWrite HTStShWr
-#endif
-
#ifdef NeXT_suppressed
#include <appkit/appkit.h>
typedef NXCoord HTCoord;
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTTCP.c
lynx2-8-2-patched/WWW/Library/Implementation/HTTCP.c
--- lynx2-8-2/WWW/Library/Implementation/HTTCP.c Mon Feb 8 05:32:59 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTTCP.c Fri Mar 12
22:03:44 1999
@@ -55,12 +55,6 @@ PUBLIC int BSDselect PARAMS((
#include <LYLeaks.h>
-#ifdef SHORT_NAMES
-#define HTInetStatus HTInStat
-#define HTInetString HTInStri
-#define HTParseInet HTPaInet
-#endif /* SHORT_NAMES */
-
#ifndef FD_SETSIZE
#if defined(UCX) || defined(SOCKETSHR_TCP) || defined(CMU_TCP)
#define FD_SETSIZE 32
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTTCP.h
lynx2-8-2-patched/WWW/Library/Implementation/HTTCP.h
--- lynx2-8-2/WWW/Library/Implementation/HTTCP.h Mon Feb 8 05:32:59 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTTCP.h Fri Mar 12
22:05:25 1999
@@ -9,13 +9,6 @@
#include <HTUtils.h>
-#ifdef SHORT_NAMES
-#define HTInetStatus HTInStat
-#define HTInetString HTInStri
-#define HTParseInet HTPaInet
-#endif
-
-
/* Produce a string for an internet address
** ---------------------------------------
**
diff -Burp lynx2-8-2/WWW/Library/Implementation/HTUtils.h
lynx2-8-2-patched/WWW/Library/Implementation/HTUtils.h
--- lynx2-8-2/WWW/Library/Implementation/HTUtils.h Thu Mar 4 05:39:45 1999
+++ lynx2-8-2-patched/WWW/Library/Implementation/HTUtils.h Fri Mar 12
22:09:40 1999
@@ -115,11 +115,6 @@
#endif
-
-#ifdef SHORT_NAMES
-#define WWW_TraceFlag HTTrFlag
-#endif
-
/*
Debug message control.
diff -Burp lynx2-8-2/WWW/Library/Implementation/HText.h
lynx2-8-2-patched/WWW/Library/Implementation/HText.h
--- lynx2-8-2/WWW/Library/Implementation/HText.h Sat Dec 12 23:10:36 1998
+++ lynx2-8-2-patched/WWW/Library/Implementation/HText.h Fri Mar 12
22:09:30 1999
@@ -17,36 +17,6 @@
#include <HTStream.h>
#include <SGML.h>
-#ifdef SHORT_NAMES
-#define HTMainText HTMaText
-#define HTMainAnchor HtMaAnch
-#define HText_new HTHTNew
-#define HText_new2 HTHTNew2
-#define HText_free HTHTFree
-#define HText_beginAppend HTHTBeAp
-#define HText_endAppend HTHTEnAp
-#define HText_setStyle HTHTSeSt
-#define HText_appendCharacter HTHTApCh
-#define HText_appendImage HTHTApIm
-#define HText_appendText HTHTApTe
-#define HText_appendParagraph HTHTApPa
-#define HText_beginAnchor HTHTBeAn
-#define HText_endAnchor HTHTEnAn
-#define HText_dump HTHTDump
-#define HText_nodeAnchor HTHTNoAn
-#define HText_select HTHTSele
-#define HText_selectAnchor HTHTSeAn
-#define HText_applyStyle HTHTApSt
-#define HText_updateStyle HTHTUpSt
-#define HText_selectionStyle HTHTStyl
-#define HText_replaceSel HTHTRepl
-#define HText_applyToSimilar HTHTApTo
-#define HText_selectUnstyled HTHTSeUn
-#define HText_unlinkSelection HTHTUnSe
-#define HText_linkSelTo HTHTLiSe
-#define HText_referenceSelected HTHTRefS
-#endif
-
#ifndef THINK_C
#ifndef HyperText /* Objective C version defined HyperText */
typedef struct _HText HText; /* Normal Library */
diff -Burp lynx2-8-2/src/GridText.h lynx2-8-2-patched/src/GridText.h
--- lynx2-8-2/src/GridText.h Thu Mar 4 05:39:45 1999
+++ lynx2-8-2-patched/src/GridText.h Fri Mar 12 22:04:19 1999
@@ -76,19 +76,6 @@ extern char * HTCurSelectGroupSize;
extern HText * HTMainText; /* Equivalent of main window */
extern HTParentAnchor * HTMainAnchor; /* Anchor for HTMainText */
-#ifdef SHORT_NAMES
-#define HText_childNumber HTGTChNu
-#define HText_canScrollUp HTGTCaUp
-#define HText_canScrollDown HTGTCaDo
-#define HText_scrollUp HTGTScUp
-#define HText_scrollDown HTGTScDo
-#define HText_scrollTop HTGTScTo
-#define HText_scrollBottom HTGTScBo
-#define HText_sourceAnchors HTGTSoAn
-#define HText_setStale HTGTStal
-#define HText_refresh HTGTRefr
-#endif /* SHORT_NAMES */
-
extern int WWW_TraceFlag;
#if defined(VMS) && defined(VAXC) && !defined(__DECC)
diff -Burp lynx2-8-2/src/HTML.h lynx2-8-2-patched/src/HTML.h
--- lynx2-8-2/src/HTML.h Tue Sep 22 07:05:12 1998
+++ lynx2-8-2-patched/src/HTML.h Fri Mar 12 22:04:05 1999
@@ -15,11 +15,6 @@
#include <HTAnchor.h>
#include <HTMLDTD.h>
-#ifdef SHORT_NAMES
-#define HTMLPresentation HTMLPren
-#define HTMLPresent HTMLPres
-#endif /* SHORT_NAMES */
-
/* #define ATTR_CS_IN (me->T.output_utf8 ? me->UCLYhndl : 0) */
#define ATTR_CS_IN me->tag_charset
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev [PATCH][dev19] Dead code removal: SHORT_NAMES,
John Bley <=