about summary refs log tree commit diff stats
path: root/WWW/Library/Implementation/HTAnchor.c
diff options
context:
space:
mode:
Diffstat (limited to 'WWW/Library/Implementation/HTAnchor.c')
-rw-r--r--WWW/Library/Implementation/HTAnchor.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/WWW/Library/Implementation/HTAnchor.c b/WWW/Library/Implementation/HTAnchor.c
index c2cf273c..20f7cfe1 100644
--- a/WWW/Library/Implementation/HTAnchor.c
+++ b/WWW/Library/Implementation/HTAnchor.c
@@ -23,12 +23,11 @@
 #include "UCAux.h"
 #include "UCMap.h"
 
+#include "LYCharSets.h"
 #include "LYLeaks.h"
 
 #define FREE(x) if (x) {free(x); x = NULL;}
 
-extern LYUCcharset LYCharSet_UC[];
-
 #ifdef NOT_DEFINED
 /*
  *	This is the hashing function used to determine which list in the
@@ -1084,10 +1083,10 @@ PUBLIC HTAnchor * HTAnchor_followTypedLink ARGS2(
         return me->mainLink.dest;
     if (me->links) {
         HTList *links = me->links;
-        HTLink *link;
-        while (NULL != (link=(HTLink *)HTList_nextObject(links))) {
-            if (link->type == type) {
-	        return link->dest;
+        HTLink *the_link;
+        while (NULL != (the_link=(HTLink *)HTList_nextObject(links))) {
+            if (the_link->type == type) {
+	        return the_link->dest;
 	    }
 	}
     }