2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

use ISC_MAGIC to define magic number

This commit is contained in:
David Lawrence
2001-04-17 14:36:45 +00:00
parent 79ed194592
commit 1bd5b8aac6

View File

@@ -15,7 +15,7 @@
* WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/* $Id: rwlock.c,v 1.32 2001/04/17 13:42:32 tale Exp $ */
/* $Id: rwlock.c,v 1.33 2001/04/17 14:36:45 tale Exp $ */
#include <config.h>
@@ -27,7 +27,7 @@
#include <isc/rwlock.h>
#include <isc/util.h>
#define RWLOCK_MAGIC 0x52574C6BU /* RWLk. */
#define RWLOCK_MAGIC ISC_MAGIC('R', 'W', 'L', 'k')
#define VALID_RWLOCK(rwl) ISC_MAGIC_VALID(rwl, RWLOCK_MAGIC)
#ifdef ISC_PLATFORM_USETHREADS