Compilation problems with net/ipv4/ip_masq_app.c

root (root@sandy.force9.co.uk)
Mon, 9 Feb 1998 19:31:45 +0000 (GMT)


Hi!

I don't recall this being mentioned before, apologies if I missed it
(or haven't got it yet).

I've got he 2.1.85 kernel, and I've applied the ip_masq_nomodules
patch (although, looking at it, this doesn't seem to have been the
problem). Anyway, the net/ipv4/ip_masq_app.c file didn't compile,
starting off with a parse error, and then a few more errors, obviously
generated because gcc was confused by then. Looking at the source, I
noticed that there was simply a '(' missing from a line near the
bottom. Once I fixed this, it compiled okay.

I've attached a patch (for completeness really), it is my first one
:), so apologies if I've messed up anything.

// Chris - chrisb@sandy.force9.co.uk \\

******** Cut ********
diff -urN kernel-source-2.1.85.orig/net/ipv4/ip_masq_app.c kernel-source-2.1.85/net/ipv4/ip_masq_app.c
--- kernel-source-2.1.85.orig/net/ipv4/ip_masq_app.c Sun Feb 8 20:18:36 1998
+++ kernel-source-2.1.85/net/ipv4/ip_masq_app.c Mon Feb 9 17:07:47 1998
@@ -673,7 +673,7 @@


#ifndef MODULE /* MODULE */
-__initfunc void ip_masq_app_setup(char *str, int *ints))
+__initfunc(void ip_masq_app_setup(char *str, int *ints))
{
int p=0,i=0;
char *app=str,*sptr=NULL;
******** Cut ********

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu