summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/user/example.texi8
-rw-r--r--doc/user/rtmon.t8
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/user/example.texi b/doc/user/example.texi
index 60862e6a6e..72ad71f740 100644
--- a/doc/user/example.texi
+++ b/doc/user/example.texi
@@ -39,16 +39,16 @@ rtems_task init_task(
name, 1, RTEMS_MINIMUM_STACK_SIZE,
RTEMS_NO_PREEMPT, RTEMS_FLOATING_POINT, &tid
);
- if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+ if ( status != RTEMS_STATUS_SUCCESSFUL ) @{
printf( "rtems_task_create failed with status of %d.\n", status );
exit( 1 );
- }
+ @}
status = rtems_task_start( tid, user_application, 0 );
- if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+ if ( status != RTEMS_STATUS_SUCCESSFUL ) @{
printf( "rtems_task_start failed with status of %d.\n", status );
exit( 1 );
- }
+ @}
status = rtems_task_delete( SELF ); /* should not return */
printf( "rtems_task_delete returned with status of %d.\n", status );
diff --git a/doc/user/rtmon.t b/doc/user/rtmon.t
index 73b28cb97c..ea49c64d23 100644
--- a/doc/user/rtmon.t
+++ b/doc/user/rtmon.t
@@ -724,10 +724,10 @@ rtems_task Periodic_task()
name = rtems_build_name( 'P', 'E', 'R', 'D' );
status = rate_monotonic_create( name, &period );
- if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+ if ( status != RTEMS_STATUS_SUCCESSFUL ) @{
printf( "rtems_monotonic_create failed with status of %d.\n", rc );
exit( 1 );
- }
+ @}
while ( 1 ) @{
@@ -740,10 +740,10 @@ rtems_task Periodic_task()
/* missed period so delete period and SELF */
status = rate_monotonic_delete( period );
- if ( status != RTEMS_STATUS_SUCCESSFUL ) {
+ if ( status != RTEMS_STATUS_SUCCESSFUL ) @{
printf( "rate_monotonic_delete failed with status of %d.\n", status );
exit( 1 );
- }
+ @}
status = rtems_task_delete( SELF ); /* should not return */
printf( "rtems_task_delete returned with status of %d.\n", status );