diff options
author | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 18:36:05 +0000 |
---|---|---|
committer | guy <guy@f5534014-38df-0310-8fa8-9805f1628bb7> | 2004-03-23 18:36:05 +0000 |
commit | e12b71004c80c1659387e42da6640966ead862ff (patch) | |
tree | df494967cdb357ba2264839d381c3a879ee4709a /packet-aim-directory.c | |
parent | 80a9cb69cfa7ebb6bdcfaf4ca5408f0f11e2886e (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-directory.c')
-rw-r--r-- | packet-aim-directory.c | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/packet-aim-directory.c b/packet-aim-directory.c index 704078781f..7e15c98674 100644 --- a/packet-aim-directory.c +++ b/packet-aim-directory.c @@ -2,7 +2,7 @@ * Routines for AIM Instant Messenger (OSCAR) dissection, SNAC Directory * Copyright 2004, Jelmer Vernooij <jelmer@samba.org> * - * $Id: packet-aim-directory.c,v 1.1 2004/03/23 06:21:16 guy Exp $ + * $Id: packet-aim-directory.c,v 1.2 2004/03/23 18:36:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -64,18 +64,22 @@ proto_register_aim_directory(void) { /* Setup list of header fields */ +/*FIXME static hf_register_info hf[] = { - }; + };*/ /* Setup protocol subtree array */ +/*FIXME static gint *ett[] = { - }; + };*/ /* Register the protocol name and description */ proto_aim_directory = proto_register_protocol("AIM Directory Search", "AIM Directory", "aim_dir"); /* Required function calls to register the header fields and subtrees used */ - proto_register_field_array(proto_aim_directory, hf, array_length(hf)); - proto_register_subtree_array(ett, array_length(ett)); +/*FIXME + proto_register_field_array(proto_aim_directory, hf, array_length(hf));*/ +/*FIXME + proto_register_subtree_array(ett, array_length(ett));*/ } void |