diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-02 19:24:58 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2016-10-02 19:24:58 +0200 |
commit | 3db384424bd7398ffbb7a355cab8f15f3add009f (patch) | |
tree | 4536961c62454aca3ac87ee88229e4d20c0d44fa /h/llist.h | |
parent | d479dd1aab1c1cb907932c6595b0ef33523fc797 (diff) |
New upstream version 1.9.1+repackupstream/1.9.1+repack
Diffstat (limited to 'h/llist.h')
-rw-r--r-- | h/llist.h | 12 |
1 files changed, 10 insertions, 2 deletions
@@ -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_ */ |