Changeset 1de949a8 in rtems


Ignore:
Timestamp:
Nov 30, 2009, 3:49:52 PM (9 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
05c1886
Parents:
524ff1cf
Message:

Whitespace removal.

Location:
cpukit
Files:
44 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libgnat/ada_intrsupp.c

    r524ff1cf r1de949a8  
    1414    &semaphore
    1515  );
    16   if ( status != RTEMS_SUCCESSFUL ) 
     16  if ( status != RTEMS_SUCCESSFUL )
    1717    printk( "__gnat_binary_semaphore_create failed %d\n", status );
    1818
     
    3434
    3535  status = rtems_semaphore_delete( semaphore );
    36   if ( status != RTEMS_SUCCESSFUL ) 
     36  if ( status != RTEMS_SUCCESSFUL )
    3737    printk( "__gnat_binary_semaphore_delete failed %d\n", status );
    3838
     
    5151
    5252  status = rtems_semaphore_obtain( semaphore, RTEMS_WAIT, RTEMS_NO_TIMEOUT );
    53   if ( status != RTEMS_SUCCESSFUL ) 
     53  if ( status != RTEMS_SUCCESSFUL )
    5454    printk( "__gnat_binary_semaphore_obtain failed %d\n", status );
    5555
     
    6868
    6969  status = rtems_semaphore_release( semaphore );
    70   if ( status != RTEMS_SUCCESSFUL ) 
     70  if ( status != RTEMS_SUCCESSFUL )
    7171    printk( "__gnat_binary_semaphore_release failed %d\n", status );
    7272
     
    8383
    8484  status = rtems_semaphore_flush( semaphore );
    85   if ( status != RTEMS_SUCCESSFUL ) 
     85  if ( status != RTEMS_SUCCESSFUL )
    8686    printk( "__gnat_binary_semaphore_flush failed %d\n", status );
    8787
  • cpukit/libnetworking/lib/tftpDriver.c

    r524ff1cf r1de949a8  
    201201   */
    202202
    203   temp_mt_entry->pathconf_limits_and_options = rtems_tftp_limits_and_options; 
     203  temp_mt_entry->pathconf_limits_and_options = rtems_tftp_limits_and_options;
    204204
    205205
     
    209209   *  NOTE:  This could be in an fsinfo for this filesystem type.
    210210   */
    211  
     211
    212212  sc = rtems_semaphore_create (
    213213    rtems_build_name('T', 'F', 'T', 'P'),
     
    223223
    224224  if (sc != RTEMS_SUCCESSFUL)
    225     rtems_set_errno_and_return_minus_one( ENOMEM ); 
     225    rtems_set_errno_and_return_minus_one( ENOMEM );
    226226
    227227  return 0;
     
    232232 */
    233233
    234 int rtems_bsdnet_initialize_tftp_filesystem (void) 
     234int rtems_bsdnet_initialize_tftp_filesystem (void)
    235235{
    236236    int                                   status;
     
    239239    status = mkdir( TFTP_PATHNAME_PREFIX, S_IRWXU | S_IRWXG | S_IRWXO );
    240240    if ( status == -1 )
    241         return status; 
    242 
    243     status = mount( 
     241        return status;
     242
     243    status = mount(
    244244            &entry,
    245245            &rtems_tftp_ops,
     
    299299    msg.errorCode = htons (5);
    300300    len = sizeof msg.opcode + sizeof msg.errorCode + 1;
    301     len += sprintf (msg.errorMessage, "GO AWAY"); 
     301    len += sprintf (msg.errorMessage, "GO AWAY");
    302302
    303303    /*
     
    341341                tp->farAddress.sin_port = from.i.sin_port;
    342342            }
    343             if (tp->farAddress.sin_port == from.i.sin_port) 
     343            if (tp->farAddress.sin_port == from.i.sin_port)
    344344                break;
    345345        }
     
    424424   const char                        **name __attribute__((unused))        /* OUT    */
    425425)
    426 { 
     426{
    427427  pathloc->node_access = NULL;
    428   rtems_set_errno_and_return_minus_one( EIO );   
     428  rtems_set_errno_and_return_minus_one( EIO );
    429429}
    430430
     
    483483}
    484484
    485 static int rtems_tftp_eval_path( 
     485static int rtems_tftp_eval_path(
    486486  const char                        *pathname,     /* IN     */
    487487  int                                pathnamelen,  /* IN     */         
     
    499499        int isRelative = (pathloc->node_access != ROOT_NODE_ACCESS);
    500500        char *cp;
    501        
     501
    502502        /*
    503503         * Reject attempts to open() directories
     
    582582     * Extract file pathname component
    583583     */
    584     while (*cp2 == '/') 
     584    while (*cp2 == '/')
    585585        cp2++;
    586586    if (strcmp (cp2, "BOOTP_FILE") == 0) {
    587587        cp2 = rtems_bsdnet_bootp_boot_file_name;
    588         while (*cp2 == '/') 
     588        while (*cp2 == '/')
    589589            cp2++;
    590590    }
     
    593593    remoteFilename = cp2;
    594594    if (strlen (remoteFilename) > (TFTP_BUFSIZE - 10))
    595         return ENOENT;       
     595        return ENOENT;
    596596
    597597    /*
     
    691691         * Send the request
    692692         */
    693         if (sendto (tp->socket, (char *)&tp->pkbuf, len, 0, 
     693        if (sendto (tp->socket, (char *)&tp->pkbuf, len, 0,
    694694                    (struct sockaddr *)&tp->farAddress,
    695695                    sizeof tp->farAddress) < 0) {
     
    877877            printf ("TFTP: SEND %d (%d)\n", tp->blocknum, tp->nused);
    878878#endif
    879         if (sendto (tp->socket, (char *)&tp->pkbuf, wlen, 0, 
     879        if (sendto (tp->socket, (char *)&tp->pkbuf, wlen, 0,
    880880                                        (struct sockaddr *)&tp->farAddress,
    881881                                        sizeof tp->farAddress) < 0)
     
    10301030    NULL,                            /* readlin */
    10311031};
    1032  
     1032
    10331033rtems_filesystem_file_handlers_r rtems_tftp_handlers = {
    1034     rtems_tftp_open,   /* open */     
    1035     rtems_tftp_close,  /* close */   
    1036     rtems_tftp_read,   /* read */     
    1037     rtems_tftp_write,  /* write */   
    1038     NULL,              /* ioctl */   
    1039     NULL,              /* lseek */   
    1040     NULL,              /* fstat */   
    1041     NULL,              /* fchmod */   
     1034    rtems_tftp_open,   /* open */
     1035    rtems_tftp_close,  /* close */
     1036    rtems_tftp_read,   /* read */
     1037    rtems_tftp_write,  /* write */
     1038    NULL,              /* ioctl */
     1039    NULL,              /* lseek */
     1040    NULL,              /* fstat */
     1041    NULL,              /* fchmod */
    10421042    rtems_tftp_ftruncate, /* ftruncate */
    10431043    NULL,              /* fpathconf */
    1044     NULL,              /* fsync */   
     1044    NULL,              /* fsync */
    10451045    NULL,              /* fdatasync */
    10461046    NULL,              /* fcntl */
  • cpukit/posix/include/rtems/posix/barrier.h

    r524ff1cf r1de949a8  
    7171 *  @param[in] the_barrier_status is the SuperCore status.
    7272 *
    73  *  @return the corresponding POSIX status 
     73 *  @return the corresponding POSIX status
    7474 */
    7575int _POSIX_Barrier_Translate_core_barrier_return_code(
  • cpukit/posix/include/rtems/posix/cancel.h

    r524ff1cf r1de949a8  
    5050 *  @brief _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch
    5151 *
    52  *  This routine separates a piece of code that existed as part of 
     52 *  This routine separates a piece of code that existed as part of
    5353 *  another routine, but had to be separated to improve coverage.
    5454 *
  • cpukit/posix/include/rtems/posix/mqueue.h

    r524ff1cf r1de949a8  
    55 *  POSIX Message Queues.
    66 */
    7  
     7
    88/*
    99 *  COPYRIGHT (c) 1989-2008.
  • cpukit/posix/include/rtems/posix/priority.h

    r524ff1cf r1de949a8  
    6868 *
    6969 *  @return This method returns the corresponding SuperCore priority.
    70  */ 
     70 */
    7171RTEMS_INLINE_ROUTINE Priority_Control _POSIX_Priority_To_core(
    7272  int priority
     
    8282 *
    8383 *  @return This method returns the corresponding POSIX priority.
    84  */ 
     84 */
    8585RTEMS_INLINE_ROUTINE int _POSIX_Priority_From_core(
    8686  Priority_Control priority
  • cpukit/posix/include/rtems/posix/pthread.h

    r524ff1cf r1de949a8  
    4747 *  When the user configures a set of POSIX API initialization threads,
    4848 *  This variable will point to the method used to initialize them.
    49  * 
     49 *
    5050 *  @note It is instantiated and initialized by confdefs.h based upon
    5151 *        application requirements.
     
    9696 *  @param[in] location points to the returned location value
    9797 *
    98  *  @return This methods returns a pointer to the corresponding Thread_Control. 
     98 *  @return This methods returns a pointer to the corresponding Thread_Control.
    9999 */
    100100RTEMS_INLINE_ROUTINE Thread_Control *_POSIX_Threads_Get(
  • cpukit/posix/include/rtems/posix/rwlock.h

    r524ff1cf r1de949a8  
    7171 *  @param[in] the_RWLock_status is the SuperCore status.
    7272 *
    73  *  @return the corresponding POSIX status 
     73 *  @return the corresponding POSIX status
    7474 */
    7575int _POSIX_RWLock_Translate_core_RWLock_return_code(
  • cpukit/posix/include/rtems/posix/spinlock.h

    r524ff1cf r1de949a8  
    7171 *  @param[in] the_spinlock_status is the SuperCore status.
    7272 *
    73  *  @return the corresponding POSIX status 
     73 *  @return the corresponding POSIX status
    7474 */
    7575int _POSIX_Spinlock_Translate_core_spinlock_return_code(
  • cpukit/posix/include/rtems/posix/time.h

    r524ff1cf r1de949a8  
    4949 *  @return This method returns the number of ticks in @a ticks_out
    5050 *          and a status value indicating whether the absolute time
    51  *          is valid, in the past, equal to the current time or in 
     51 *          is valid, in the past, equal to the current time or in
    5252 *          the future as it should be.
    5353 */
  • cpukit/posix/include/rtems/posix/timer.h

    r524ff1cf r1de949a8  
    2626/* Timer is free */
    2727#define POSIX_TIMER_STATE_FREE        0x01
    28                                                                
     28
    2929/* Created timer but not running          */
    3030#define POSIX_TIMER_STATE_CREATE_NEW  0x02
  • cpukit/posix/src/canceleval.c

    r524ff1cf r1de949a8  
    3535  } else
    3636    _Thread_Enable_dispatch();
    37  
     37
    3838}
  • cpukit/posix/src/cleanuppush.c

    r524ff1cf r1de949a8  
    4242  /*
    4343   *  The POSIX standard does not address what to do when the routine
    44    *  is NULL.  It also does not address what happens when we cannot 
     44   *  is NULL.  It also does not address what happens when we cannot
    4545   *  allocate memory or anything else bad happens.
    4646   */
  • cpukit/posix/src/clockgetres.c

    r524ff1cf r1de949a8  
    5454        res->tv_sec = rtems_configuration_get_microseconds_per_tick() /
    5555            TOD_MICROSECONDS_PER_SECOND;
    56         res->tv_nsec = rtems_configuration_get_nanoseconds_per_tick(); 
     56        res->tv_nsec = rtems_configuration_get_nanoseconds_per_tick();
    5757      }
    5858      break;
  • cpukit/posix/src/clockgettime.c

    r524ff1cf r1de949a8  
    5959    rtems_set_errno_and_return_minus_one( ENOSYS );
    6060#endif
    61  
     61
    6262  rtems_set_errno_and_return_minus_one( EINVAL );
    6363
  • cpukit/posix/src/condget.c

    r524ff1cf r1de949a8  
    5858  );
    5959}
    60  
     60
  • cpukit/posix/src/keycreate.c

    r524ff1cf r1de949a8  
    7373            INTERNAL_ERROR_IMPLEMENTATION_KEY_CREATE_INCONSISTENCY
    7474          );
    75       #endif 
     75      #endif
    7676      bytes_to_allocate = sizeof( void * ) *
    7777        (_Objects_Information_table[ the_api ][ 1 ]->maximum + 1);
  • cpukit/posix/src/killinfo.c

    r524ff1cf r1de949a8  
    146146
    147147    #if defined(DEBUG_SIGNAL_PROCESSING)
    148       printk( "Waiting Thread=%p option=0x%08x mask=0x%08x blocked=0x%08x\n", 
     148      printk( "Waiting Thread=%p option=0x%08x mask=0x%08x blocked=0x%08x\n",
    149149        the_thread, the_thread->Wait.option, mask, api->signals_blocked);
    150150    #endif
     
    213213      #if defined(DEBUG_SIGNAL_PROCESSING)
    214214        printk("\n 0x%08x/0x%08x %d/%d 0x%08x 1",
    215           the_thread->Object.id, 
    216           ((interested) ? interested->Object.id : 0), 
     215          the_thread->Object.id,
     216          ((interested) ? interested->Object.id : 0),
    217217          the_thread->current_priority, interested_priority,
    218218          the_thread->current_state
     
    274274          continue;
    275275        }
    276  
     276
    277277        DEBUG_STEP("6");
    278278        /* prefer blocked/interruptible over blocked/not interruptible */
  • cpukit/posix/src/mprotect.c

    r524ff1cf r1de949a8  
    2424 *  return 0.
    2525 *
    26  *  As of gcc 4.2.2, the gcc SPARC backend doesn't appear to have a 
     26 *  As of gcc 4.2.2, the gcc SPARC backend doesn't appear to have a
    2727 *  way to call this for RTEMS anymore but it doesn't hurt to leave it.
    2828 */
  • cpukit/posix/src/mqueuetimedreceive.c

    r524ff1cf r1de949a8  
    7070   *  status into the appropriate error.
    7171   *
    72    *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID, 
     72   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
    7373   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
    7474   *  then we should not wait.
  • cpukit/posix/src/mqueuetimedsend.c

    r524ff1cf r1de949a8  
    7070   *  status into the appropriate error.
    7171   *
    72    *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID, 
     72   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
    7373   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
    7474   *  then we should not wait.
  • cpukit/posix/src/mutexget.c

    r524ff1cf r1de949a8  
    5959    } \
    6060  } while (0)
    61  
     61
    6262POSIX_Mutex_Control *_POSIX_Mutex_Get (
    6363  pthread_mutex_t   *mutex,
  • cpukit/posix/src/mutextimedlock.c

    r524ff1cf r1de949a8  
    5757   *  status into the appropriate error.
    5858   *
    59    *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID, 
     59   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
    6060   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
    6161   *  then we should not wait.
     
    6565    do_wait = false;
    6666
    67   lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks ); 
     67  lock_status = _POSIX_Mutex_Lock_support( mutex, do_wait, ticks );
    6868  /*
    6969   *  This service only gives us the option to block.  We used a polling
  • cpukit/posix/src/posixtimespecabsolutetimeout.c

    r524ff1cf r1de949a8  
    4343  struct timespec difference;
    4444
    45  
     45
    4646  /*
    4747   *  Make sure there is always a value returned.
  • cpukit/posix/src/prwlockrdlock.c

    r524ff1cf r1de949a8  
    4141  POSIX_RWLock_Control  *the_rwlock;
    4242  Objects_Locations      location;
    43  
     43
    4444  if ( !rwlock )
    4545    return EINVAL;
  • cpukit/posix/src/prwlocktimedrdlock.c

    r524ff1cf r1de949a8  
    4646  bool                                         do_wait = true;
    4747  POSIX_Absolute_timeout_conversion_results_t  status;
    48  
     48
    4949  if ( !rwlock )
    5050    return EINVAL;
     
    5959   *  status into the appropriate error.
    6060   *
    61    *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID, 
     61   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
    6262   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
    6363   *  then we should not wait.
  • cpukit/posix/src/prwlocktimedwrlock.c

    r524ff1cf r1de949a8  
    4646  bool                                         do_wait = true;
    4747  POSIX_Absolute_timeout_conversion_results_t  status;
    48  
     48
    4949  if ( !rwlock )
    5050    return EINVAL;
     
    5959   *  status into the appropriate error.
    6060   *
    61    *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID, 
     61   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
    6262   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
    6363   *  then we should not wait.
  • cpukit/posix/src/prwlocktryrdlock.c

    r524ff1cf r1de949a8  
    4141  POSIX_RWLock_Control  *the_rwlock;
    4242  Objects_Locations      location;
    43  
     43
    4444  if ( !rwlock )
    4545    return EINVAL;
  • cpukit/posix/src/prwlocktrywrlock.c

    r524ff1cf r1de949a8  
    4141  POSIX_RWLock_Control  *the_rwlock;
    4242  Objects_Locations      location;
    43  
     43
    4444  if ( !rwlock )
    4545    return EINVAL;
  • cpukit/posix/src/prwlockunlock.c

    r524ff1cf r1de949a8  
    4242  Objects_Locations      location;
    4343  CORE_RWLock_Status     status;
    44  
     44
    4545  if ( !rwlock )
    4646    return EINVAL;
  • cpukit/posix/src/prwlockwrlock.c

    r524ff1cf r1de949a8  
    4141  POSIX_RWLock_Control  *the_rwlock;
    4242  Objects_Locations      location;
    43  
     43
    4444  if ( !rwlock )
    4545    return EINVAL;
  • cpukit/posix/src/psignalclearsignals.c

    r524ff1cf r1de949a8  
    6262    signals_blocked = SIGNAL_ALL_MASK;
    6363
    64   /* XXX is this right for siginfo type signals? */ 
     64  /* XXX is this right for siginfo type signals? */
    6565  /* XXX are we sure they can be cleared the same way? */
    6666
  • cpukit/posix/src/psignalunblockthread.c

    r524ff1cf r1de949a8  
    9292     *        we unblock the thread.
    9393     *    + If it is in the ready state AND
    94      *      we are sending from an ISR AND 
     94     *      we are sending from an ISR AND
    9595     *      it is the interrupted thread AND
    9696     *      it is not blocked, THEN
     
    9898     *    + Any other combination, do nothing.
    9999     */
    100    
     100
    101101    the_thread->do_post_task_switch_extension = true;
    102102
  • cpukit/posix/src/pspininit.c

    r524ff1cf r1de949a8  
    4444  POSIX_Spinlock_Control   *the_spinlock;
    4545  CORE_spinlock_Attributes  attributes;
    46  
     46
    4747
    4848  if ( !spinlock )
  • cpukit/posix/src/psxtransschedparam.c

    r524ff1cf r1de949a8  
    6464    if ( !_POSIX_Priority_Is_valid( param->ss_low_priority ) )
    6565      return EINVAL;
    66    
     66
    6767    *budget_algorithm  = THREAD_CPU_BUDGET_ALGORITHM_CALLOUT;
    6868    *budget_callout = _POSIX_Threads_Sporadic_budget_callout;
  • cpukit/posix/src/pthreadcreate.c

    r524ff1cf r1de949a8  
    213213    /*
    214214     *  _Thread_Start only fails if the thread was in the incorrect state
    215      * 
     215     *
    216216     *  NOTE: This can only happen if someone slips in and touches the
    217217     *        thread while we are creating it.
  • cpukit/posix/src/pthreadexit.c

    r524ff1cf r1de949a8  
    3636
    3737  /*
    38    * The_information has to be non-NULL.  Otherwise, we couldn't be 
     38   * The_information has to be non-NULL.  Otherwise, we couldn't be
    3939   * running in a thread of this API and class.
    4040   *
     
    4343   *       we unlock, we want to defer the context switch until we
    4444   *       are ready to be switched out.  Otherwise, an ISR could
    45    *       occur and preempt us out while we still hold the 
     45   *       occur and preempt us out while we still hold the
    4646   *       allocator mutex.
    4747   */
    48  
     48
    4949  _RTEMS_Lock_allocator();
    5050    _Thread_Disable_dispatch();
  • cpukit/posix/src/semtimedwait.c

    r524ff1cf r1de949a8  
    5454   *  status into the appropriate error.
    5555   *
    56    *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID, 
     56   *  If the status is POSIX_ABSOLUTE_TIMEOUT_INVALID,
    5757   *  POSIX_ABSOLUTE_TIMEOUT_IS_IN_PAST, or POSIX_ABSOLUTE_TIMEOUT_IS_NOW,
    5858   *  then we should not wait.
  • cpukit/posix/src/setcanceltype.c

    r524ff1cf r1de949a8  
    5858
    5959    _POSIX_Thread_Evaluate_cancellation_and_enable_dispatch(_Thread_Executing);
    60  
     60
    6161  /*
    6262   *  _Thread_Enable_dispatch is invoked by above call.
  • cpukit/posix/src/sigtimedwait.c

    r524ff1cf r1de949a8  
    8080  if ( !set )
    8181    rtems_set_errno_and_return_minus_one( EINVAL );
    82  
     82
    8383  /*  NOTE: This is very specifically a RELATIVE not ABSOLUTE time
    8484   *        in the Open Group specification.
  • cpukit/posix/src/sysconf.c

    r524ff1cf r1de949a8  
    4343  if ( name == _SC_GETPW_R_SIZE_MAX )
    4444    return 1024;
    45  
     45
    4646  if ( name == _SC_PAGESIZE )
    4747    return PAGE_SIZE;
  • cpukit/posix/src/timercreate.c

    r524ff1cf r1de949a8  
    3737  if ( clock_id != CLOCK_REALTIME )
    3838    rtems_set_errno_and_return_minus_one( EINVAL );
    39  
     39
    4040  if ( !timerid )
    4141    rtems_set_errno_and_return_minus_one( EINVAL );
    42  
     42
    4343 /*
    4444  *  The data of the structure evp are checked in order to verify if they
  • cpukit/posix/src/timersettime.c

    r524ff1cf r1de949a8  
    5151    rtems_set_errno_and_return_minus_one( EINVAL );
    5252  }
    53  
     53
    5454  if ( flags != TIMER_ABSTIME && flags != POSIX_TIMER_RELATIVE ) {
    5555    rtems_set_errno_and_return_minus_one( EINVAL );
     
    6363    _TOD_Get( &now );
    6464    /* Check for seconds in the past */
    65     if ( _Timespec_Greater_than( &now, &normalize.it_value ) ) 
    66       rtems_set_errno_and_return_minus_one( EINVAL ); 
     65    if ( _Timespec_Greater_than( &now, &normalize.it_value ) )
     66      rtems_set_errno_and_return_minus_one( EINVAL );
    6767    _Timespec_Subtract( &now, &normalize.it_value, &normalize.it_value );
    6868  }
     
    9696       ptimer->ticks  = _Timespec_To_ticks( &value->it_interval );
    9797       initial_period = _Timespec_To_ticks( &normalize.it_value );
    98        
    99        
     98
     99
    100100       activated = _POSIX_Timer_Insert_helper(
    101101         &ptimer->Timer,
  • cpukit/posix/src/ualarm.c

    r524ff1cf r1de949a8  
    4141   */
    4242  (void) kill( getpid(), SIGALRM );
    43  
     43
    4444  /*
    4545   * If the reset interval is non-zero, reschedule ourselves.
    46    */ 
     46   */
    4747  _Watchdog_Reset( &_POSIX_signals_Ualarm_timer );
    4848}
     
    9999    ticks = _Timespec_To_ticks( &tp );
    100100    if ( ticks == 0 )
    101       ticks = 1; 
     101      ticks = 1;
    102102
    103103    _Watchdog_Insert_ticks( the_timer, _Timespec_To_ticks( &tp ) );
Note: See TracChangeset for help on using the changeset viewer.