Added some C++ cruft to rpmlib.h
authormarc <devnull@localhost>
Fri, 20 Mar 1998 04:48:27 +0000 (04:48 +0000)
committermarc <devnull@localhost>
Fri, 20 Mar 1998 04:48:27 +0000 (04:48 +0000)
CVS patchset: 2039
CVS date: 1998/03/20 04:48:27

CHANGES
lib/rpmlib.h

diff --git a/CHANGES b/CHANGES
index 0ce249a..468765b 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
 2.4.104 -> 2.4.105:
        - added langpath: to rpmrc, and mark files with matches
+       - added some C++ cruft to rpmlib.h
 
 2.4.103 -> 2.4.104:
        - fixed popt/Makefile.in to use CPP from configure
index f92e9ce..d48fe8e 100644 (file)
@@ -9,6 +9,10 @@
 #include "dbindex.h"
 #include "header.h"
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
 int rpmReadPackageInfo(int fd, Header * signatures, Header * hdr);
 int rpmReadPackageHeader(int fd, Header * hdr, int * isSource, int * major,
                         int * minor);
@@ -489,4 +493,9 @@ int rpmGetFilesystemList(char *** listptr, int * num);
 int rpmGetFilesystemUsage(char ** filelist, int_32 * fssizes, int numFiles,
                          uint_32 ** usagesPtr, int flags);
 
+#ifdef __cplusplus
+}
+#endif
+
+    
 #endif