summaryrefslogtreecommitdiffstats
path: root/lib/linklist.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@opensourcerouting.org>2014-06-04 06:53:35 +0200
committerDavid Lamparter <equinox@opensourcerouting.org>2014-06-04 06:58:02 +0200
commit6b0655a25194c7c0331154edaa6124cf783e5e5e (patch)
treec0c7d479f2684531249668210da27a60322ba395 /lib/linklist.c
parentbuild: Quagga 0.99.23-rc1 (diff)
downloadfrr-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.xz
frr-6b0655a25194c7c0331154edaa6124cf783e5e5e.zip
*: nuke ^L (page feed)
Quagga sources have inherited a slew of Page Feed (^L, \xC) characters from ancient history. Among other things, these break patchwork's XML-RPC API because \xC is not a valid character in XML documents. Nuke them from high orbit. Patches can be adapted simply by: sed -e 's%^L%%' -i filename.patch (you can type page feeds in some environments with Ctrl-V Ctrl-L) Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/linklist.c')
-rw-r--r--lib/linklist.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/linklist.c b/lib/linklist.c
index 485a80bee..370b2fa61 100644
--- a/lib/linklist.c
+++ b/lib/linklist.c
@@ -23,7 +23,7 @@
#include "linklist.h"
#include "memory.h"
-
+
/* Allocate new list. */
struct list *
list_new (void)
@@ -51,7 +51,7 @@ listnode_free (struct listnode *node)
{
XFREE (MTYPE_LINK_NODE, node);
}
-
+
/* Add new data to the list. */
void
listnode_add (struct list *list, void *val)
@@ -242,7 +242,7 @@ listnode_lookup (struct list *list, void *data)
return node;
return NULL;
}
-
+
/* Delete the node from list. For ospfd and ospf6d. */
void
list_delete_node (struct list *list, struct listnode *node)
@@ -258,7 +258,7 @@ list_delete_node (struct list *list, struct listnode *node)
list->count--;
listnode_free (node);
}
-
+
/* ospf_spf.c */
void
list_add_node_prev (struct list *list, struct listnode *current, void *val)