Changeset a46da63 in mainline for libc/generic/psthread.c


Ignore:
Timestamp:
2006-06-16T20:50:51Z (19 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
153a209
Parents:
b34fab6
Message:

big code cleanup, compile with -Wall -Werror to enforce better coding
there is currently one warning that requires attention, please review

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/psthread.c

    rb34fab6 ra46da63  
    2727 */
    2828
    29  /** @addtogroup libc
     29/** @addtogroup libc
    3030 * @{
    3131 */
     
    5252static LIST_INITIALIZE(manager_list);
    5353
    54 static void psthread_exit(void) __attribute__ ((noinline));
    5554static void psthread_main(void);
    5655
     
    192191int psthread_join(pstid_t psthrid)
    193192{
    194         volatile psthread_data_t *pt, *mypt;
     193        volatile psthread_data_t *pt;
    195194        volatile int retval;
    196195
     
    239238
    240239        context_save(&pt->ctx);
    241         context_set(&pt->ctx, FADDR(psthread_main), pt->stack, PSTHREAD_INITIAL_STACK_PAGES_NO*getpagesize(),
    242                     pt->tcb);
     240        context_set(&pt->ctx, FADDR(psthread_main), pt->stack, PSTHREAD_INITIAL_STACK_PAGES_NO*getpagesize(), pt->tcb);
    243241
    244242        return (pstid_t )pt;
     
    308306
    309307
    310  /** @}
    311  */
    312  
    313  
     308/** @}
     309 */
Note: See TracChangeset for help on using the changeset viewer.