Re: [PATCH] s/u64/__u64/ in linux/xfrm.h

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

 



David S. Miller wrote:
   From: Jeff Garzik <jgarzik@pobox.com>
   Date: Wed, 4 Jun 2003 11:24:39 -0400

On Wed, Jun 04, 2003 at 04:16:54PM +0100, Christoph Hellwig wrote:
> __uXX is in no way related to gcc.
In this context it is. Programmers needed a fixed-sized type, and
what gcc had was what they used, simply because other compilers were
not relevant "back in the old days" WRT user-visible kernel headers.


Show me a compiler that we should care about that does not
provide long long support or some other suitable way to get
a __u64 type.


Answering your previous mail, all "real" compilers (AFAIK) define long long.

But that's making an end-run around the argument: why define our own fixed-size types for userland, when userland already has them, as defined by the C standard?

Jeff



-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux