aboutsummaryrefslogtreecommitdiffstats
path: root/docbook
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2009-01-08 01:56:00 +0000
committerStephen Fisher <steve@stephen-fisher.com>2009-01-08 01:56:00 +0000
commit4dffe31d706025c9a59be55c45ee00e3674b9c4b (patch)
tree879d0e1cdff0394b053166c325ead9fadc70254c /docbook
parent40d6161862ff1de9a29dd1a0ee46a3e9ef76a373 (diff)
downloadwireshark-4dffe31d706025c9a59be55c45ee00e3674b9c4b.tar.gz
wireshark-4dffe31d706025c9a59be55c45ee00e3674b9c4b.tar.bz2
wireshark-4dffe31d706025c9a59be55c45ee00e3674b9c4b.zip
From Toralf Foester via -dev mailing list: Add static to the forward
declaration of a static function in the examples. svn path=/trunk/; revision=27188
Diffstat (limited to 'docbook')
-rw-r--r--docbook/wsdg_src/WSDG_chapter_dissection.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_dissection.xml b/docbook/wsdg_src/WSDG_chapter_dissection.xml
index 41f98d0f29..b656c55a95 100644
--- a/docbook/wsdg_src/WSDG_chapter_dissection.xml
+++ b/docbook/wsdg_src/WSDG_chapter_dissection.xml
@@ -79,7 +79,7 @@
/* forward reference */
void proto_register_foo();
void proto_reg_handoff_foo();
-void dissect_foo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
+static void dissect_foo(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree);
static int proto_foo = -1;
static int global_foo_port = 1234;