Module Name: src Committed By: simonb Date: Mon Oct 31 10:44:29 UTC 2022
Modified Files: src/external/cddl/osnet/dist/uts/common/os: list.c Log Message: Provide an empty ASSERT macro ifdef _STANDALONE. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/external/cddl/osnet/dist/uts/common/os/list.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/cddl/osnet/dist/uts/common/os/list.c diff -u src/external/cddl/osnet/dist/uts/common/os/list.c:1.1.1.1 src/external/cddl/osnet/dist/uts/common/os/list.c:1.2 --- src/external/cddl/osnet/dist/uts/common/os/list.c:1.1.1.1 Fri Aug 7 18:33:45 2009 +++ src/external/cddl/osnet/dist/uts/common/os/list.c Mon Oct 31 10:44:29 2022 @@ -35,6 +35,10 @@ #include <sys/sysmacros.h> #include <sys/debug.h> +#ifdef _STANDALONE +#define ASSERT(x) /* nothing */ +#endif + #define list_d2l(a, obj) ((list_node_t *)(((char *)obj) + (a)->list_offset)) #define list_object(a, node) ((void *)(((char *)node) - (a)->list_offset)) #define list_empty(a) ((a)->list_head.list_next == &(a)->list_head)