diff options
author | Guy Harris <guy@alum.mit.edu> | 1999-07-07 23:54:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 1999-07-07 23:54:13 +0000 |
commit | 856e356a7a544706cf27edad3113db1acaa6704c (patch) | |
tree | ffa42eda17ab9825b2367756d53fdb2f8cf34386 /proto.h | |
parent | 9f9d19f529f1d4b854184356116946ae73930f4f (diff) | |
download | wireshark-856e356a7a544706cf27edad3113db1acaa6704c.tar.gz wireshark-856e356a7a544706cf27edad3113db1acaa6704c.tar.bz2 wireshark-856e356a7a544706cf27edad3113db1acaa6704c.zip |
"const"ifty some function arguments and structure members, and "#if 0"
out the declaration of a variable used only by "#if 0"ed out code, to
eliminate some compiler warnings.
svn path=/trunk/; revision=344
Diffstat (limited to 'proto.h')
-rw-r--r-- | proto.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1,7 +1,7 @@ /* proto.h * Definitions for protocol display * - * $Id: proto.h,v 1.1 1999/07/07 22:51:59 gram Exp $ + * $Id: proto.h,v 1.2 1999/07/07 23:54:12 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -112,9 +112,9 @@ typedef struct field_info { typedef struct proto_tree_search_info { - int target_field; - GArray *result_array; - guint8 *packet_data; + int target_field; + GArray *result_array; + const guint8 *packet_data; } proto_tree_search_info; void proto_init(void); |