Re: long long in kernel

Mike Shaver (shaver@mozilla.org)
Fri, 07 May 1999 11:28:51 -0400


Jes Sorensen wrote:
> I see, what I would do is to use a special datatype for this (typedef)
> and define macros to operate on it. You might want to look at how this
> is dealt with in the AceNIC driver (I stole the idea from someone, but
> I cannot remember who, sorry), take a look at drivers/net/acenic.[ch]

That's what we do with NSPR, too:
http://lxr.mozilla.org/seamonkey/source/nsprpub/pr/include/prlong.h

Mike

-- 
168773.95 162383.94

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/