Missing cplusplus-wrappers in rpmtd
authorPanu Matilainen <pmatilai@redhat.com>
Tue, 8 Jul 2008 15:13:42 +0000 (18:13 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 8 Jul 2008 15:54:29 +0000 (18:54 +0300)
lib/rpmtd.h

index afd6a17..0ca711f 100644 (file)
@@ -4,6 +4,10 @@
 #include <rpm/rpmtypes.h>
 #include <rpm/argv.h>
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 typedef enum rpmtdFlags_e {
     RPMTD_NONE         = 0,
     RPMTD_ALLOCED      = (1 << 0),     /* was memory allocated? */
@@ -318,4 +322,8 @@ int rpmtdFromArgi(rpmtd td, rpmTag tag, ARGI_t argi);
  */
 rpmtd rpmtdDup(rpmtd td);
 
+#ifdef __cplusplus
+}
+#endif
+
 #endif /* _RPMTD_H */