Hi,
mate_packet() is a do-nothing function used only to pass it to the
tap, I think that should not even be anymore in the mate_runtime.c
(it's there because it was used once) it should be moved to
mate_setup.c and removed from mate.h, the next patch for mate will
include this change.
I'm curious about your system because at first sight both prototypes
look identical to me.
Luis
On Wed, 26 Jan 2005 13:25:13 -0600, Benninghoff, John (RBC Dain)
<John.Benninghoff@xxxxxxxxxxx> wrote:
> FYI,
>
> There is a bug in plugins/mate/mate.h that prevents ethereal from compiling (at least on my system). This fixes the problem (prototypes don't match). Please cc: me on replies, I am not subscribed to the list. Thanks.
>
> --- plugins/mate/mate.h.orig Mon Jan 17 20:39:21 2005
> +++ plugins/mate/mate.h Wed Jan 26 12:59:48 2005
> @@ -324,7 +324,7 @@ struct _mate_item {
> extern void initialize_mate_runtime(void);
> extern mate_pdu* mate_get_pdus(guint32 framenum);
> extern void mate_analyze_frame(packet_info *pinfo, proto_tree* tree);
> -extern int mate_packet(void* _U_, packet_info* _U_, epan_dissect_t* _U_,const void* _U_);
> +extern int mate_packet(void *prs _U_, packet_info* tree _U_, epan_dissect_t *edt _U_, const void *dummy _U_);
>
> /* from mate_setup.c */
> extern mate_config* mate_make_config(guint8* filename);
>
> RBC Dain Rauscher does not accept buy, sell or cancel orders by e-mail, or any instructions by e-mail that would require your signature. Information contained in this communication is not considered an official record of your account and does not supersede normal trade confirmations or statements. Any information provided has been prepared from sources believed to be reliable but is not guaranteed, does not represent all available data necessary for making investment decisions and is for informational purposes only.
>
> This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you receive this e-mail in error, please advise me (by return e-mail or otherwise) immediately.
>
> Information received by or sent from this system is subject to review by supervisory personnel, is retained and may be produced to regulatory authorities or others with a legal right to the information.
>
> _______________________________________________
> Ethereal-dev mailing list
> Ethereal-dev@xxxxxxxxxxxx
> http://www.ethereal.com/mailman/listinfo/ethereal-dev
>