aboutsummaryrefslogtreecommitdiffstats
path: root/packet-aim-userlookup.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-23 18:36:05 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-03-23 18:36:05 +0000
commite12b71004c80c1659387e42da6640966ead862ff (patch)
treedf494967cdb357ba2264839d381c3a879ee4709a /packet-aim-userlookup.c
parent80a9cb69cfa7ebb6bdcfaf4ca5408f0f11e2886e (diff)
Zero-length arrays are *not* valid in C89, even if GCC doesn't happen to
have a problem with them; MSVC++, for example, doesn't handle them, so we comment them out. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@10463 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'packet-aim-userlookup.c')
-rw-r--r--packet-aim-userlookup.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/packet-aim-userlookup.c b/packet-aim-userlookup.c
index bcfe83a3e2..f7371a05bd 100644
--- a/packet-aim-userlookup.c
+++ b/packet-aim-userlookup.c
@@ -2,7 +2,7 @@
* Routines for AIM Instant Messenger (OSCAR) dissection, SNAC Userlookup
* Copyright 2004, Jelmer Vernooij <jelmer@samba.org>
*
- * $Id: packet-aim-userlookup.c,v 1.1 2004/03/23 06:21:17 guy Exp $
+ * $Id: packet-aim-userlookup.c,v 1.2 2004/03/23 18:36:05 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -85,8 +85,9 @@ proto_register_aim_userlookup(void)
{
/* Setup list of header fields */
+/*FIXME
static hf_register_info hf[] = {
- };
+ };*/
/* Setup protocol subtree array */
static gint *ett[] = {
@@ -96,7 +97,8 @@ proto_register_aim_userlookup(void)
proto_aim_userlookup = proto_register_protocol("AIM User Lookup", "AIM User Lookup", "aim_lookup");
/* Required function calls to register the header fields and subtrees used */
- proto_register_field_array(proto_aim_userlookup, hf, array_length(hf));
+/*FIXME
+ proto_register_field_array(proto_aim_userlookup, hf, array_length(hf));*/
proto_register_subtree_array(ett, array_length(ett));
}