tech-kern archive

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

Re: kernel v. userland #includes for standard types



On Oct 25,  2:49pm, David Holland wrote:
} On Sat, Jun 04, 2011 at 01:09:19PM -0500, David Young wrote:
}  > Is there a good reason that we are not using <stdbool.h> and <stdint.h>
}  > in the kernel, instead of <sys/stdint.h> and <sys/types.h>?  It seems
}  > to me that we could cut simplify by using the same headers for the same
}  > definitions everywhere.
} 
} We should, but the source tree organization doesn't really allow it.
} (I assume you agree that creating any src/sys/*.h files would be a
} mistake.)
} 
} In the long run we should add src/sys/include, but in general I think
} major structural cleanup like this should wait until we manage to do a
} version control migration.

     The files in src/sys/sys get installed into /usr/include/sys .

}-- End of excerpt from David Holland


Home | Main Index | Thread Index | Old Index