Changeset 02fe6ab in rtems


Ignore:
Timestamp:
Aug 15, 2000, 1:23:13 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
662678d1
Parents:
939e29d
Message:

2000-08-15 Joel Sherrill <joel@…>

  • src/ptimer1.c: Minor formatting fixes.
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/posix/ChangeLog

    r939e29d r02fe6ab  
     12000-08-15      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/ptimer1.c: Minor formatting fixes.
     4
    152000-08-15      Joel Sherrill <joel@OARcorp.com>
    26
  • c/src/exec/posix/src/ptimer1.c

    r939e29d r02fe6ab  
    342342        timer_struct[timer_pos].thread_id = pthread_self ();
    343343       
    344 
    345344        if ( evp != NULL ) {
    346 
    347345           timer_struct[timer_pos].inf.sigev_notify = evp->sigev_notify;
    348346           timer_struct[timer_pos].inf.sigev_signo  = evp->sigev_signo;
    349347           timer_struct[timer_pos].inf.sigev_value  = evp->sigev_value;
    350 
    351348        }
    352349
    353 
    354350        timer_struct[timer_pos].timer_id = timer_id;
    355 
    356351        timer_struct[timer_pos].overrun  = 0;
    357352
     
    362357
    363358        return 0;
    364    
    365359
    366360     case RTEMS_INVALID_NAME : /* The assigned name is not valid */
    367361
    368362       PRINT_MSG_S ("ERROR: rtems create timer RTEMS_INVALID_NAME");
    369 
    370363       set_errno_and_return_minus_one( EINVAL );
    371364
    372365     case RTEMS_TOO_MANY :
    373366
     367       /* There has been created too much timers for the same process */
    374368       PRINT_MSG_S ("ERROR: rtems create timer RTEMS_TOO_MANY ");
    375  
    376        /* There has been created too much timers for the same process */
    377 
    378369       set_errno_and_return_minus_one( EAGAIN );
    379370     
     
    387378
    388379       set_errno_and_return_minus_one( EINVAL );
    389 
    390380  }
    391381
     
    395385
    396386  set_errno_and_return_minus_one( EINVAL );
    397 
    398387}
    399388
  • cpukit/posix/ChangeLog

    r939e29d r02fe6ab  
     12000-08-15      Joel Sherrill <joel@OARcorp.com>
     2
     3        * src/ptimer1.c: Minor formatting fixes.
     4
    152000-08-15      Joel Sherrill <joel@OARcorp.com>
    26
  • cpukit/posix/src/ptimer1.c

    r939e29d r02fe6ab  
    342342        timer_struct[timer_pos].thread_id = pthread_self ();
    343343       
    344 
    345344        if ( evp != NULL ) {
    346 
    347345           timer_struct[timer_pos].inf.sigev_notify = evp->sigev_notify;
    348346           timer_struct[timer_pos].inf.sigev_signo  = evp->sigev_signo;
    349347           timer_struct[timer_pos].inf.sigev_value  = evp->sigev_value;
    350 
    351348        }
    352349
    353 
    354350        timer_struct[timer_pos].timer_id = timer_id;
    355 
    356351        timer_struct[timer_pos].overrun  = 0;
    357352
     
    362357
    363358        return 0;
    364    
    365359
    366360     case RTEMS_INVALID_NAME : /* The assigned name is not valid */
    367361
    368362       PRINT_MSG_S ("ERROR: rtems create timer RTEMS_INVALID_NAME");
    369 
    370363       set_errno_and_return_minus_one( EINVAL );
    371364
    372365     case RTEMS_TOO_MANY :
    373366
     367       /* There has been created too much timers for the same process */
    374368       PRINT_MSG_S ("ERROR: rtems create timer RTEMS_TOO_MANY ");
    375  
    376        /* There has been created too much timers for the same process */
    377 
    378369       set_errno_and_return_minus_one( EAGAIN );
    379370     
     
    387378
    388379       set_errno_and_return_minus_one( EINVAL );
    389 
    390380  }
    391381
     
    395385
    396386  set_errno_and_return_minus_one( EINVAL );
    397 
    398387}
    399388
Note: See TracChangeset for help on using the changeset viewer.