Ick... however, as simple as the definition of that macro is - it could probably be defined in afsconfig.h and paired with an autoconf compile test. > -----Original Message----- > From: Derek Atkins [mailto:[EMAIL PROTECTED]] > Sent: Monday, June 11, 2001 1:34 PM > To: Neulinger, Nathan > Cc: [EMAIL PROTECTED] > Subject: Re: [OpenAFS-devel] which OS's can't handle prototypes in > kernel code? > > > "Neulinger, Nathan" <[EMAIL PROTECTED]> writes: > > > > I believe that the more common way of handling this is to > > > use the __P() macro, which would be defined in sys/cdefs.h > > > > Ah. I wasn't familiar with that macro, although I have seen it used. > > Note that this macro is not necessarily available in all kernels. > Linux, for example, doesn't define this. It is available in the Linux > GLIBC user-space build environment, but not in the Linux kernel-space > build environment (there is no <sys/*.h>) > > -derek > > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > [EMAIL PROTECTED] PGP key available > _______________________________________________ OpenAFS-devel mailing list [EMAIL PROTECTED] https://lists.openafs.org/mailman/listinfo/openafs-devel
