Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/arch/ia64/include/faddr.h

    rca12383 r00acd66  
    2727 */
    2828
    29 /** @addtogroup libcia64
     29/** @addtogroup libcia64       
    3030 * @{
    3131 */
     
    3838#include <libarch/types.h>
    3939
    40 /**
     40/** 
    4141 *
    4242 * Calculate absolute address of function
    4343 * referenced by fptr pointer.
    4444 *
    45  * @param fptr Function pointer.
     45 * @param f Function pointer.
    4646 *
    4747 */
    48 #define FADDR(fptr)  (((fncptr_t *) (fptr))->fnc)
     48#define FADDR(f)         (*((uintptr_t *)(f)));
    4949
    5050#endif
Note: See TracChangeset for help on using the changeset viewer.