summaryrefslogtreecommitdiffstats
path: root/testsuites/samples
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2009-10-24 05:51:46 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2009-10-24 05:51:46 +0000
commit21d821bea3d7690a4aeea2a6ceeda69ff913b91e (patch)
tree668aeabb311bd2519dddfc06068c5a648c1c1a7f /testsuites/samples
parentAdd missing prototype. (diff)
downloadrtems-21d821bea3d7690a4aeea2a6ceeda69ff913b91e.tar.bz2
New.
Diffstat (limited to 'testsuites/samples')
-rw-r--r--testsuites/samples/nsecs/rprintf.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuites/samples/nsecs/rprintf.h b/testsuites/samples/nsecs/rprintf.h
new file mode 100644
index 0000000000..5feb14f3ce
--- /dev/null
+++ b/testsuites/samples/nsecs/rprintf.h
@@ -0,0 +1,9 @@
+#ifndef _RPRINTF_H
+#define _RPRINTF_H
+
+/* HACK: Presume time_t is a long */
+#define PRItime_t "ld"
+
+#define PRIirtems_task_argument PRIuPTR
+
+#endif