mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-15 22:56:40 +08:00
Update to FreeBSD head 2017-12-01
Git mirror commit e724f51f811a4b2bd29447f8b85ab5c2f9b88266. Update #3472.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
/*-
|
||||
* SPDX-License-Identifier: BSD-2-Clause-FreeBSD
|
||||
*
|
||||
* Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -137,9 +139,13 @@ struct lock_class {
|
||||
* operations. Otherwise, use default values to avoid the unneeded bloat.
|
||||
*/
|
||||
#if LOCK_DEBUG > 0
|
||||
#define LOCK_FILE_LINE_ARG_DEF , const char *file, int line
|
||||
#define LOCK_FILE_LINE_ARG , file, line
|
||||
#define LOCK_FILE __FILE__
|
||||
#define LOCK_LINE __LINE__
|
||||
#else
|
||||
#define LOCK_FILE_LINE_ARG_DEF
|
||||
#define LOCK_FILE_LINE_ARG
|
||||
#define LOCK_FILE NULL
|
||||
#define LOCK_LINE 0
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user