about summary refs log tree commit diff stats
path: root/src/HTFWriter.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2006-01-23 01:26:00 -0500
committerThomas E. Dickey <dickey@invisible-island.net>2006-01-23 01:26:00 -0500
commit04a316621e7163aa1d3a747c47844da55c6aa4d6 (patch)
tree89da810392c92dcde38dafe5313b8602b636b219 /src/HTFWriter.c
parent01876e39ab4775cc04d1fdc8e491fe2e7de9c1a3 (diff)
downloadlynx-snapshots-04a316621e7163aa1d3a747c47844da55c6aa4d6.tar.gz
snapshot of project "lynx", label v2-8-6dev_17
Diffstat (limited to 'src/HTFWriter.c')
-rw-r--r--src/HTFWriter.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/HTFWriter.c b/src/HTFWriter.c
index 116360c2..3fe384af 100644
--- a/src/HTFWriter.c
+++ b/src/HTFWriter.c
@@ -50,7 +50,7 @@ static char *FIXED_RECORD_COMMAND = NULL;
 #define FIXED_RECORD_COMMAND_MASK "@Lynx_Dir:FIXED512 %s"
 #else
 #define FIXED_RECORD_COMMAND_MASK "%s"
-unsigned long LYVMS_FixedLengthRecords(char *filename);
+static unsigned long LYVMS_FixedLengthRecords(char *filename);
 #endif /* USE_COMMAND_FILE */
 #endif /* VMS */
 
@@ -340,11 +340,12 @@ static void HTFWriter_free(HTStream *me)
 			    start_curses();
 #endif
 			}
-		    } else
+		    } else {
 			status = HTLoadFile(addr,
 					    me->anchor,
 					    me->output_format,
 					    me->sink);
+		    }
 		    if (dump_output_immediately &&
 			me->output_format == HTAtom_for("www/present")) {
 			FREE(addr);
@@ -1280,7 +1281,7 @@ extern unsigned long sys$open(), sys$qiow(), sys$dassgn();
  * Force a file to be marked as having fixed-length, 512 byte records
  * without implied carriage control, and with best_try_contiguous set.
  */
-unsigned long LYVMS_FixedLengthRecords(char *filename)
+static unsigned long LYVMS_FixedLengthRecords(char *filename)
 {
     struct FAB fab;		/* RMS file access block */
     struct fibdef fib;		/* XQP file information block */