From: Eduardo Pereira Habkost <ehabkost@conectiva.com.br>
To: linux-8086@vger.kernel.org
Subject: Re: Vjhc patch
Date: Mon, 19 Jul 2004 12:23:35 -0300 [thread overview]
Message-ID: <20040719152335.GG2830@duckman.distro.conectiva> (raw)
In-Reply-To: <20040717235133.34437.qmail@web51301.mail.yahoo.com>
[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]
On Sat, Jul 17, 2004 at 04:51:33PM -0700, Tommy McCabe wrote:
> Gets rid of the function to define a function which
> causes errors in elksnet/ktcp/vjhc.c.
I guess that there was a reason to use DEFUN(), probably due to support
of different function declaration styles, on different compilers. If we
choose to remove DEFUN(), I guess that we should remove because we know
it is not needed for anything, not because of building errors that can
be caused by errors in other places, not by the use of DEFUN().
And, if you get errors when building, I think that is good to show which
erros you see. It is not possible to review your fixes, if we don't know
what is the real reason for you making those changes.
For example: ktcp builds without problems here, so I am very interested
to see why do you get errors on your system, but I don't see any errors
here. Could you show us the error messages?
> --- ./elkscomp/elksnet/ktcp/vjhc.c 2002-07-28 11:45:45.000000000 -0400
> +++ ./elkscurr/elksnet/ktcp/vjhc.c 2004-07-17 19:46:40.000000000 -0400
> @@ -113,10 +113,8 @@
> }
> }
>
> -DEFUN
> -(int ip_vjhc_compress, (pkt),
> - pkt_ut *pkt
> -)
> +int ip_vjhc_compress(pkt_ut *pkt)
> +
> {
> iphdr_t *ip_hdr, *oip_hdr;
> tcphdr_t *tcp_hdr, *otcp_hdr;
> @@ -388,10 +386,8 @@
> return PPP_TYPE_VJHC_COMPR;
> }
>
> -DEFUN
> -(void ip_vjhc_arr_uncompr, (pkt),
> - pkt_ut *pkt
> -)
> +void ip_vjhc_arr_uncompr(pkt_ut *pkt)
> +
> {
> rcv_state_ut *state;
> iphdr_t *ip_hdr;
> @@ -430,10 +426,8 @@
>
> }
>
> -DEFUN
> -(void ip_vjhc_arr_compr, (pkt),
> - pkt_ut *pkt
> -)
> +void ip_vjhc_arr_compr(pkt_ut *pkt)
> +
> {
> iphdr_t *ip_hdr;
> tcphdr_t *tcp_hdr;
--
Eduardo
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2004-07-19 15:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-17 23:51 Vjhc patch Tommy McCabe
2004-07-19 15:23 ` Eduardo Pereira Habkost [this message]
2004-07-19 17:53 ` Tommy McCabe
2004-07-19 18:06 ` Eduardo Pereira Habkost
2004-07-19 18:51 ` Tommy McCabe
2004-07-19 19:01 ` Eduardo Pereira Habkost
2004-07-19 20:57 ` Tommy McCabe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040719152335.GG2830@duckman.distro.conectiva \
--to=ehabkost@conectiva.com.br \
--cc=linux-8086@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox