From b80aaa9784eada594a76216cdc8c44d17131d3a6 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 20 Aug 2008 22:16:20 +0000 Subject: 2008-08-20 Joel Sherrill * shttpd_ext.c: Fix warning. --- http/ChangeLog | 4 ++++ http/shttpd_ext.c | 10 ++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/http/ChangeLog b/http/ChangeLog index e808706..b1333a7 100644 --- a/http/ChangeLog +++ b/http/ChangeLog @@ -1,3 +1,7 @@ +2008-08-20 Joel Sherrill + + * shttpd_ext.c: Fix warning. + 2007-12-06 Joel Sherrill * Makefile, init.c: Make sure POSIX threading is enabled if using diff --git a/http/shttpd_ext.c b/http/shttpd_ext.c index 33c6213..dadc1be 100644 --- a/http/shttpd_ext.c +++ b/http/shttpd_ext.c @@ -30,7 +30,10 @@ void example_shttpd_callback(struct shttpd_arg *arg) /* fprintf( stderr, "RTEMS Request -%s-\n", query ); */ if ( !strcmp( query, "cpuuse_report" ) ) { - rtems_cpu_usage_report_with_plugin( arg, shttpd_printf ); + rtems_cpu_usage_report_with_plugin( + arg, + (rtems_printk_plugin_t) shttpd_printf + ); } else if ( !strcmp( query, "cpuuse_reset" ) ) { rtems_cpu_usage_reset(); shttpd_printf( @@ -40,7 +43,10 @@ void example_shttpd_callback(struct shttpd_arg *arg) END_HTML_BODY ); } else if ( !strcmp( query, "stackuse_report" ) ) { - rtems_stack_checker_report_usage_with_plugin( arg, shttpd_printf ); + rtems_stack_checker_report_usage_with_plugin( + arg, + (rtems_printk_plugin_t) shttpd_printf + ); } else { shttpd_printf( arg, -- cgit v1.2.3