summaryrefslogtreecommitdiff
path: root/net/ttt/files/patch-node.c
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2007-10-01 22:41:18 +0000
committerMartin Wilke <miwi@FreeBSD.org>2007-10-01 22:41:18 +0000
commit5690e71d564db93a3cef3a329f302111e60277ca (patch)
tree1fa36875bce600881e28547c2aeb0a552bec06aa /net/ttt/files/patch-node.c
parentUpdate to 1.3.1, which adds an additional "paper mode". (diff)
- Unbreak
- Fix build with gcc 4.2
Notes
Notes: svn path=/head/; revision=200564
Diffstat (limited to 'net/ttt/files/patch-node.c')
-rw-r--r--net/ttt/files/patch-node.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/net/ttt/files/patch-node.c b/net/ttt/files/patch-node.c
new file mode 100644
index 000000000000..e06d07bb7047
--- /dev/null
+++ b/net/ttt/files/patch-node.c
@@ -0,0 +1,20 @@
+--- node.c.orig 2004-05-19 12:20:44.000000000 +0200
++++ node.c 2007-10-02 00:27:29.000000000 +0200
+@@ -89,7 +89,7 @@
+ static int b_collectgarbage(int tab_no);
+ static int b_countfree(int tab_no);
+ static struct t_node *b_getfree(int tab_no);
+-static int fls(int i);
++int fls(int i);
+ #ifdef IPV6
+ static int node_comp_id(long *a, long *b);
+ #endif
+@@ -599,7 +599,7 @@
+ }
+
+ /* fls - find last set bit --- reverse function of vax ffs */
+-static int fls(int i)
++ int fls(int i)
+ {
+ int index;
+