From 4f7d12cf6a5c1b9da93b5c8665fa8e4ae62b7186 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sat, 7 Jan 2006 03:14:02 +0000 Subject: [PATCH] Made C++ save. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15854 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/util/queue.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/headers/private/kernel/util/queue.h b/headers/private/kernel/util/queue.h index c946de37a2..ec9b869908 100644 --- a/headers/private/kernel/util/queue.h +++ b/headers/private/kernel/util/queue.h @@ -7,6 +7,10 @@ #include +#ifdef __cplusplus +extern "C" { +#endif + typedef struct queue { void *head; void *tail; @@ -33,5 +37,8 @@ int fixed_queue_enqueue(fixed_queue *q, void *e); void *fixed_queue_dequeue(fixed_queue *q); void *fixed_queue_peek(fixed_queue *q); +#ifdef __cplusplus +} #endif +#endif /* _KERNEL_QUEUE_H */