This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

parenthesis while addressing struct member


I experienced problems as not using parenthesis with addressing operator. Does someone know what's correct?

pthread_mutex_lock.c

int e = INTERNAL_SYSCALL (futex, __err, 4, &mutex->__data.__lock,
        __lll_private_flag (FUTEX_LOCK_PI,
private), 1, 0);

ags_thread-posix.c

             pthread_mutex_init(&(thread->timelock_mutex), NULL);


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]