The clock id argument should have been of type
clockid_t.
git-svn-id: svn+ssh://svn.code.sf.net/p/check/code/trunk@1136
64e312b2-a51f-0410-8e61-
82d0ca0eb02a
struct sigevent;
CK_DLL_EXP int clock_gettime(clockid_t clk_id, struct timespec *ts);
-CK_DLL_EXP int timer_create(int clockid, struct sigevent *sevp,
+CK_DLL_EXP int timer_create(clockid_t clockid, struct sigevent *sevp,
timer_t * timerid);
CK_DLL_EXP int timer_settime(timer_t timerid, int flags,
const struct itimerspec *new_value,
#include "libcompat.h"
-int timer_create(int clockid CK_ATTRIBUTE_UNUSED,
+int timer_create(clockid_t clockid CK_ATTRIBUTE_UNUSED,
struct sigevent *sevp CK_ATTRIBUTE_UNUSED,
timer_t * timerid CK_ATTRIBUTE_UNUSED)
{