[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[5465] some small formatting changes
From: |
Gavin D. Smith |
Subject: |
[5465] some small formatting changes |
Date: |
Mon, 21 Apr 2014 15:22:26 +0000 |
Revision: 5465
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=5465
Author: gavin
Date: 2014-04-21 15:22:24 +0000 (Mon, 21 Apr 2014)
Log Message:
-----------
some small formatting changes
Modified Paths:
--------------
trunk/ChangeLog
trunk/info/nodes.c
trunk/info/pseudotty.c
trunk/info/t/infodir/split.info-2
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2014-04-18 19:19:43 UTC (rev 5464)
+++ trunk/ChangeLog 2014-04-21 15:22:24 UTC (rev 5465)
@@ -1,5 +1,14 @@
2014-04-17 Gavin Smith <address@hidden>
+ * info/nodes.c: Minor formatting.
+ (SUBFILE, get_tags_of_indirect_tags_table): Move typedef
+ into body of function.
+ (info_get_node_of_file_buffer): Unused variable deleted.
+ * info/pseudotty.c: #define _XOPEN_SOURCE instead of _GNU_SOURCE.
+ * info/t/infodir/split.info-2: Syntax fixed.
+
+2014-04-17 Gavin Smith <address@hidden>
+
* info/Makefile.am: Two new tests.
* info/t/long-nodeline.sh, info/t/long-nodeline.drib,
info/t/split-index.sh, info/t/split-index.drib,
Modified: trunk/info/nodes.c
===================================================================
--- trunk/info/nodes.c 2014-04-18 19:19:43 UTC (rev 5464)
+++ trunk/info/nodes.c 2014-04-21 15:22:24 UTC (rev 5465)
@@ -176,7 +176,8 @@
}
/* Set fields on new tag table entry. */
-static void init_file_buffer_tag (FILE_BUFFER *fb, NODE *entry)
+static void
+init_file_buffer_tag (FILE_BUFFER *fb, NODE *entry)
{
if (fb->flags & N_HasTagsTable)
{
@@ -364,13 +365,6 @@
free (tmp_search);
}
-/* A structure used only in `get_tags_of_indirect_tags_table' to hold onto
- an intermediate value. */
-typedef struct {
- char *filename;
- long first_byte;
-} SUBFILE;
-
/* Remember in FILE_BUFFER the nodenames, subfilenames, and offsets within the
subfiles of every node which appears in TAGS_BINDING. The 2nd argument is
a binding surrounding the indirect files list. */
@@ -379,6 +373,14 @@
SEARCH_BINDING *indirect_binding, SEARCH_BINDING *tags_binding)
{
int i;
+
+ /* A structure used only in `get_tags_of_indirect_tags_table' to hold onto
+ an intermediate value. */
+ typedef struct {
+ char *filename;
+ long first_byte;
+ } SUBFILE;
+
SUBFILE **subfiles = NULL;
size_t subfiles_index = 0, subfiles_slots = 0;
NODE *entry;
@@ -1028,7 +1030,6 @@
info_get_node_of_file_buffer (char *nodename, FILE_BUFFER *file_buffer)
{
NODE *node = NULL;
- int implicit_nodename = 0;
/* If we are unable to find the file, we have to give up. There isn't
anything else we can do. */
Modified: trunk/info/pseudotty.c
===================================================================
--- trunk/info/pseudotty.c 2014-04-18 19:19:43 UTC (rev 5464)
+++ trunk/info/pseudotty.c 2014-04-21 15:22:24 UTC (rev 5465)
@@ -17,7 +17,7 @@
standard output. Read and ignore any data sent to terminal. This
is so we can run tests interactively without messing up the screen. */
-#define _GNU_SOURCE
+#define _XOPEN_SOURCE
#include <stdlib.h>
#include <stdio.h>
#include <fcntl.h>
Modified: trunk/info/t/infodir/split.info-2
===================================================================
(Binary files differ)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [5465] some small formatting changes,
Gavin D. Smith <=