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

Bug#145857: libc6-dev: three problems in <time.h>

The sample code now works in 2.3.1-14. Great!

> #include <time.h>
> #include <sched.h>
> main () {
>   return 0;
> }
> gcc -o testcase -ansi -Werror testcase.c

There still appears to be at least one bug in <time.h>.
If I have __need_clockid_t defined, why does <time.h>
define _TIME_H ?

In other words, why is __need_clockid_t treated differently
from   __need_time_t  __need_clock_t and  __need_timespec ?


Reply to: