Messages in this thread |  | | Date | Fri, 22 Jun 2001 13:43:57 +0200 | From | Erik Mouw <> | Subject | Re: mktime in include/linux |
| |
On Thu, Jun 21, 2001 at 10:30:40PM -0400, Rick Hohensee wrote: > Why does Linux have a mktime routine fully coded in linux/time.h that > conflicts directly with the ANSI C standard library routine of the same > name? It breaks a couple things against libc5, including gcc 3.0. OK, you > don't care about libc5. It's still pretty weird. Wierd? Weird.
This has been brought up many times on this list: you are not supposed to include kernel headers in userland.
Erik
-- J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department of Electrical Engineering, Faculty of Information Technology and Systems, Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl WWW: http://www-ict.its.tudelft.nl/~erik/ - 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/
|  |