summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--c/src/exec/posix/ChangeLog5
-rw-r--r--c/src/exec/posix/src/pthreadgetcpuclockid.c2
-rw-r--r--cpukit/posix/ChangeLog5
-rw-r--r--cpukit/posix/src/pthreadgetcpuclockid.c2
4 files changed, 14 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
diff --git a/cpukit/posix/ChangeLog b/cpukit/posix/ChangeLog
index a423e5fee9..6ea0ce871d 100644
--- a/cpukit/posix/ChangeLog
+++ b/cpukit/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/cpukit/posix/src/pthreadgetcpuclockid.c b/cpukit/posix/src/pthreadgetcpuclockid.c
index f7d9553522..d9ff80b34a 100644
--- a/cpukit/posix/src/pthreadgetcpuclockid.c
+++ b/cpukit/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