* Re: [PATCH] 2.5.44-ac1 : init/do_mounts.c
@ 2002-10-23 22:14 James Bottomley
2002-10-23 22:33 ` Frank Davis
0 siblings, 1 reply; 3+ messages in thread
From: James Bottomley @ 2002-10-23 22:14 UTC (permalink / raw)
To: Frank Davis; +Cc: linux-kernel, James.Bottomley
> This patch removes an outdated macro STATIC.
I don't think you want to do this. The definition STATIC alters the behaviour
of the #included "lib/inflate.c" which is used for uncompressing ramdisks. I
think you'll find do_mounts.c may not even compile with it undefined since it
will now look for a missing "gzip.h" header.
James
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] 2.5.44-ac1 : init/do_mounts.c
2002-10-23 22:14 [PATCH] 2.5.44-ac1 : init/do_mounts.c James Bottomley
@ 2002-10-23 22:33 ` Frank Davis
0 siblings, 0 replies; 3+ messages in thread
From: Frank Davis @ 2002-10-23 22:33 UTC (permalink / raw)
To: James Bottomley; +Cc: linux-kernel
James,
lib/inflate.c has a patch as well to remove STATIC.
Regards,
Frank
James Bottomley wrote:
>> This patch removes an outdated macro STATIC.
>
>
> I don't think you want to do this. The definition STATIC alters the behaviour
> of the #included "lib/inflate.c" which is used for uncompressing ramdisks. I
> think you'll find do_mounts.c may not even compile with it undefined since it
> will now look for a missing "gzip.h" header.
>
> James
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] 2.5.44-ac1 : init/do_mounts.c
@ 2002-10-23 0:39 Frank Davis
0 siblings, 0 replies; 3+ messages in thread
From: Frank Davis @ 2002-10-23 0:39 UTC (permalink / raw)
To: linux-kernel; +Cc: fdavis, alan
Hello all,
This patch removes an outdated macro STATIC.
Regards,
Frank
--- linux/init/do_mounts.c.old Tue Oct 22 18:23:11 2002
+++ linux/init/do_mounts.c Tue Oct 22 19:39:30 2002
@@ -844,8 +844,6 @@
#define Tracec(c,x)
#define Tracecv(c,x)
-#define STATIC static
-
static int fill_inbuf(void);
static void flush_window(void);
static void *malloc(int size);
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-10-23 22:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-23 22:14 [PATCH] 2.5.44-ac1 : init/do_mounts.c James Bottomley
2002-10-23 22:33 ` Frank Davis
-- strict thread matches above, loose matches on Subject: below --
2002-10-23 0:39 Frank Davis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).