Re: [PATCH] Move declarations of globals back to the files with "main",

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karel Zak <kzak@xxxxxxxxxx> wrote:
> On Mon, Dec 17, 2007 at 07:59:12PM +0100, Jim Meyering wrote:
>>
>> so we can compile with -fno-common.
>
>  Thanks! I've added -fno-common to my CFLAGS.
>
>>  mount/fstab.c    |    4 ++++
>>  mount/lomount.c  |    4 ++++
>>  mount/mount.c    |    4 ++++
>>  mount/sundries.c |    4 ----
>>  mount/swapon.c   |    1 +
>>  mount/umount.c   |    4 ++++
>>  6 files changed, 17 insertions(+), 4 deletions(-)
>
>  Hmm... what about the tiny patch below? It fixes the problem, but all
>  globals are declared on the one place (sundries.c) only.

obviously better than mine :-)
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux