summaryrefslogtreecommitdiffstats
path: root/c/src/exec/posix
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-06 15:30:58 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2000-12-06 15:30:58 +0000
commit57fe91f8dbb7910e97503a9baebbfbc9576fd74d (patch)
tree0cdc2c0cb34c7a2e2dcda98aa419ed6d897d8b7e /c/src/exec/posix
parent2000-12-05 Eric Valette <valette@crf.canon.fr> (diff)
downloadrtems-57fe91f8dbb7910e97503a9baebbfbc9576fd74d.tar.bz2
2000-12-06 Joel Sherrill <joel@OARcorp.com>
* src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to eliminate warning.
Diffstat (limited to 'c/src/exec/posix')
-rw-r--r--c/src/exec/posix/ChangeLog5
-rw-r--r--c/src/exec/posix/src/pthreadgetcpuclockid.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/c/src/exec/posix/ChangeLog b/c/src/exec/posix/ChangeLog
index a423e5fee9..6ea0ce871d 100644
--- a/c/src/exec/posix/ChangeLog
+++ b/c/src/exec/posix/ChangeLog
@@ -1,3 +1,8 @@
+2000-12-06 Joel Sherrill <joel@OARcorp.com>
+
+ * src/pthreadgetcpuclockid.c: Add include of <rtems/system.h> to
+ eliminate warning.
+
2000-12-01 Joel Sherrill <joel@OARcorp.com>
* include/rtems/posix/cond.h: #if 0'ed out prototype of
diff --git a/c/src/exec/posix/src/pthreadgetcpuclockid.c b/c/src/exec/posix/src/pthreadgetcpuclockid.c
index f7d9553522..d9ff80b34a 100644
--- a/c/src/exec/posix/src/pthreadgetcpuclockid.c
+++ b/c/src/exec/posix/src/pthreadgetcpuclockid.c
@@ -14,6 +14,8 @@
#include <pthread.h>
#include <errno.h>
+#include <rtems/system.h>
+
int pthread_getcpuclockid(
pthread_t pid,
clockid_t *clock_id