From e12b71004c80c1659387e42da6640966ead862ff Mon Sep 17 00:00:00 2001 From: guy Date: Tue, 23 Mar 2004 18:36:05 +0000 Subject: 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 --- packet-aim-userlookup.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'packet-aim-userlookup.c') 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 * - * $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 @@ -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)); } -- cgit v1.2.3