diff options
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r-- | src/include/storage/proc.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h index 914d934524f..aae5b704427 100644 --- a/src/include/storage/proc.h +++ b/src/include/storage/proc.h @@ -1,12 +1,12 @@ /*------------------------------------------------------------------------- * - * proc.h-- + * proc.h * * * * Copyright (c) 1994, Regents of the University of California * - * $Id: proc.h,v 1.16 1998/12/15 12:46:59 vadim Exp $ + * $Id: proc.h,v 1.17 1999/02/13 23:22:09 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -75,8 +75,8 @@ typedef struct procglobal extern PROC *MyProc; -#define PROC_INCR_SLOCK(lock) if (MyProc) (MyProc->sLocks[(lock)])++ -#define PROC_DECR_SLOCK(lock) if (MyProc) (MyProc->sLocks[(lock)])-- +#define PROC_INCR_SLOCK(lock) if (MyProc) ((MyProc->sLocks[(lock)])++) +#define PROC_DECR_SLOCK(lock) if (MyProc) ((MyProc->sLocks[(lock)])--) /* * flags explaining why process woke up |