Ignore:
Timestamp:
2018-07-05T21:41:25Z (6 years ago)
Author:
Dzejrou <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1bf924a
Parents:
a853075
git-author:
Dzejrou <dzejrou@…> (2018-07-03 21:52:55)
git-committer:
Dzejrou <dzejrou@…> (2018-07-05 21:41:25)
Message:

removed whitespace changes and opted to change types of variables instead of casting in tls headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/amd64/include/libarch/tls.h

    ra853075 r7ca51cc  
    5252static inline tcb_t *__tcb_get(void)
    5353{
    54         void *retval;
     54        tcb_t *retval;
    5555
    5656        asm volatile ("movq %%fs:0, %0" : "=r" (retval));
    57         return (tcb_t *)retval;
     57        return retval;
    5858}
    5959
Note: See TracChangeset for help on using the changeset viewer.