diff options
author | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-09-13 05:28:59 +0000 |
---|---|---|
committer | Thomas Bushnell, BSG <thomas@gnu.org> | 1996-09-13 05:28:59 +0000 |
commit | 39a0b056676c206b077a8cb9fb18fbe2d66bcc62 (patch) | |
tree | e78c417c3f01d2fd714c154ae37fe7b4dfc73f36 /sysdeps/mach/libc-lock.h | |
parent | a8ed817809c5579aadab8b51587b393bf2701abc (diff) | |
download | glibc-39a0b056676c206b077a8cb9fb18fbe2d66bcc62.tar.gz glibc-39a0b056676c206b077a8cb9fb18fbe2d66bcc62.tar.xz glibc-39a0b056676c206b077a8cb9fb18fbe2d66bcc62.zip |
*** empty log message ***
Fri Sep 13 01:21:36 1996 Thomas Bushnell, n/BSG <thomas@gnu.ai.mit.edu> * sysdeps/generic/schedbits.h (struct sched_param): Renamed from struct sched_params. * sysdeps/stub/sched_setp.c (__sched_setparam): struct sched_params -> struct sched_param. * sysdeps/stub/sched_getp.c (__sched_getparam): Likewise. * sysdeps/stub/sched_sets.c (__sched_setscheduler): Likewise.
Diffstat (limited to 'sysdeps/mach/libc-lock.h')
-rw-r--r-- | sysdeps/mach/libc-lock.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sysdeps/mach/libc-lock.h b/sysdeps/mach/libc-lock.h index ea3d306a52..1c9b16cf90 100644 --- a/sysdeps/mach/libc-lock.h +++ b/sysdeps/mach/libc-lock.h @@ -59,16 +59,15 @@ typedef struct __libc_lock_opaque__ __libc_lock_t; /* Start a critical region with a cleanup function */ #define __libc_cleanup_region_start(FCT, ARG) \ { \ - (typeof FCT) __save_FCT = FCT; \ - (typeof ARG) __save_ARG = ARG; \ + typeof (FCT) __save_FCT = FCT; \ + typeof (ARG) __save_ARG = ARG; \ /* close brace is in __libc_cleanup_region_end below. */ /* End a critical region started with __libc_cleanup_region_start. */ #define __libc_cleanup_region_end(DOIT) \ if (DOIT) \ - (* __save_FCT)(__save_ARG); \ + (*__save_FCT)(__save_ARG); \ } - #endif /* libc-lock.h */ |