From 3db384424bd7398ffbb7a355cab8f15f3add009f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 2 Oct 2016 19:24:58 +0200 Subject: New upstream version 1.9.1+repack --- h/llist.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'h/llist.h') diff --git a/h/llist.h b/h/llist.h index 1af31bf..0edd06f 100644 --- a/h/llist.h +++ b/h/llist.h @@ -1,9 +1,13 @@ -/* A set of linked list utilities, implimented as macros. */ +/* A set of doubly linked list utilities, implimented as macros. */ /* Copyright 1995, 2000 Graeme W. Gill */ #ifndef _LLIST_H_ -/* A link list structure */ +#ifdef __cplusplus + extern "C" { +#endif + +/* A doubly link list structure */ #define LINKSTRUCT(obj) \ struct { \ obj *fwd; /* Forward link */ \ @@ -87,6 +91,10 @@ struct { \ #define IS_ONE_ITEM(objp) \ ((objp) == (objp)->_llistp.fwd) +#ifdef __cplusplus + } +#endif + #define _LLIST_H_ #endif /* _LLIST_H_ */ -- cgit v1.2.3