Module Name:    src
Committed By:   christos
Date:           Sat Apr 23 23:10:10 UTC 2016

Modified Files:
        src/include: time.h

Log Message:
add clock_cpugetclockid{2,}


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/include/time.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/time.h
diff -u src/include/time.h:1.45 src/include/time.h:1.46
--- src/include/time.h:1.45	Thu Oct 29 13:48:55 2015
+++ src/include/time.h	Sat Apr 23 19:10:10 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: time.h,v 1.45 2015/10/29 17:48:55 christos Exp $	*/
+/*	$NetBSD: time.h,v 1.46 2016/04/23 23:10:10 christos Exp $	*/
 
 /*
  * Copyright (c) 1989, 1993
@@ -156,6 +156,12 @@ int timer_gettime(timer_t, struct itimer
 int timer_settime(timer_t, int, const struct itimerspec * __restrict, 
     struct itimerspec * __restrict) __RENAME(__timer_settime50);
 #endif
+#ifdef _NETBSD_SOURCE
+#include <sys/idtype.h>
+int clock_getcpuclockid2(idtype_t, id_t, clockid_t *);
+#endif
+int clock_getcpuclockid(pid_t, clockid_t *);
+
 int timer_create(clockid_t, struct sigevent * __restrict,
     timer_t * __restrict);
 int timer_delete(timer_t);

Reply via email to