conflicting types for `mktime' is userspave programs using libc5
When trying to compile something using libc5, with the 2.4.0-test10 kernel, I get this:
/usr/include/time.h:85: conflicting types for mktime' /usr/include/linux/time.h:69: previous declaration of mktime'
A simple diff is attached
linux/time.h renamed from linux/time.h~ +2 -0
@@ -46,6 +46,7 @@ value->tv_sec = jiffies /HZ ; } +#ifdef __KERNEL__/* Converts Gregorian date to seconds since 1970-01-01 00:00:00. * Assumes input in normal date format, i.e. 1980-12-31 23:59:59 * => year=1980, mon=12, day=31, hour=23, min=59, sec=59.
@@ -78,6 +79,7 @@ )*60 + min /* now have minutes */ )*60 + sec; /* finally seconds */ } +#endif struct timeval {