Messages in this thread | | | Date | Tue, 17 Apr 2001 14:46:09 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: i386 cleanups |
| |
On Tue, 17 Apr 2001, Pavel Machek wrote: > > These are tiny cleanups you might like. sizes are "logically" > long.
No. Sizes are not "logical". They are whatever you decide they are, ie it's purely a complier convention.
At least earlier, size_t was defined as "unsigned int" in user mode, and doing anything else would make gcc complain about clashes with its compiled-in __builtin_size_t that it uses for the builtin prototypes (ie if you had a declaration for "void *memcpy(void *dest, const void *src, size_t n);" and your size_t didn't match the gcc builtin_size_t, you'd get a "redefined with different arguments" warning or something).
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |