Changeset View
Changeset View
Standalone View
Standalone View
sys/sys/ck.h
/* | /* | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#ifndef _SYS_CK_H_ | |||||
#define _SYS_CK_H_ | |||||
#ifdef _KERNEL | #ifdef _KERNEL | ||||
#include <ck_queue.h> | #include <ck_queue.h> | ||||
#include <ck_epoch.h> | #include <ck_epoch.h> | ||||
#else | #else | ||||
#include <sys/queue.h> | #include <sys/queue.h> | ||||
#define CK_STAILQ_HEAD STAILQ_HEAD | #define CK_STAILQ_HEAD STAILQ_HEAD | ||||
#define CK_STAILQ_ENTRY STAILQ_ENTRY | #define CK_STAILQ_ENTRY STAILQ_ENTRY | ||||
#define CK_LIST_HEAD LIST_HEAD | #define CK_LIST_HEAD LIST_HEAD | ||||
#define CK_LIST_ENTRY LIST_ENTRY | #define CK_LIST_ENTRY LIST_ENTRY | ||||
#endif | #endif | ||||
#endif /* !_SYS_CK_H_ */ |