From d66557fac49db9329068c1afd9685875cacd3137 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 7 Nov 2005 09:09:26 +0000 Subject: Switch back to include compile.am instead of amcompile.am --- testsuites/samples/ticker/Makefile.am | 2 +- testsuites/samples/ticker/system.h | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'testsuites/samples/ticker') diff --git a/testsuites/samples/ticker/Makefile.am b/testsuites/samples/ticker/Makefile.am index 177e9cc6ec..e4a8a17136 100644 --- a/testsuites/samples/ticker/Makefile.am +++ b/testsuites/samples/ticker/Makefile.am @@ -19,7 +19,7 @@ OBJS = $(lib_a_OBJECTS) PRINT_SRCS = $(DOCS) include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg -include $(top_srcdir)/../automake/amcompile.am +include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am include $(top_srcdir)/sample.am diff --git a/testsuites/samples/ticker/system.h b/testsuites/samples/ticker/system.h index f17d52f279..b08e22b11a 100644 --- a/testsuites/samples/ticker/system.h +++ b/testsuites/samples/ticker/system.h @@ -14,6 +14,7 @@ */ #include +#include /* functions */ @@ -60,7 +61,7 @@ extern rtems_name Task_name[ 4 ]; /* array of task names */ #define print_time(_s1, _tb, _s2) \ do { \ - printf( "%s%02d:%02d:%02d %02d/%02d/%04d%s", \ + printf( "%s%02" PRId32 ":%02" PRId32 ":%02" PRId32 " %02" PRId32 "/%02" PRId32 "/%04" PRId32 "%s", \ _s1, (_tb)->hour, (_tb)->minute, (_tb)->second, \ (_tb)->month, (_tb)->day, (_tb)->year, _s2 ); \ fflush(stdout); \ -- cgit v1.2.3