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/xlist.h | |
parent | d479dd1aab1c1cb907932c6595b0ef33523fc797 (diff) |
New upstream version 1.9.1+repackupstream/1.9.1+repack
Diffstat (limited to 'h/xlist.h')
-rw-r--r-- | h/xlist.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -3,6 +3,10 @@ #ifndef _XLIST_H_ +#ifdef __cplusplus + extern "C" { +#endif + /* An expanding list structure */ #define XLIST(objtype, name) \ struct { \ @@ -51,6 +55,10 @@ struct { \ #define XLIST_FREE(xlp) \ { if ((xlp)->_no > 0) free((xlp)->list); } +#ifdef __cplusplus + } +#endif + #define _XLIST_H_ #endif /* _XLIST_H_ */ |