summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2023-04-14 11:41:25 -0400
committerTheodore Ts'o <tytso@mit.edu>2023-04-14 11:41:25 -0400
commitb3507cc9614e0a9f93feb552d4da15a3b07b9728 (patch)
treedd5364e48e693b398921ccc170780f75eafc06e2
parentcbc6a5ae4f350bfb0dd0daa39544615a5d0a956a (diff)
downloade2fsprogs-maint.tar.gz
blkidP.h: add missing extern "C" declarationmaint
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
-rw-r--r--lib/blkid/blkidP.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/blkid/blkidP.h b/lib/blkid/blkidP.h
index b3fe4a66..68ea5724 100644
--- a/lib/blkid/blkidP.h
+++ b/lib/blkid/blkidP.h
@@ -23,9 +23,12 @@
#endif
#include <blkid/blkid.h>
-
#include <blkid/list.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef __GNUC__
#define __BLKID_ATTR(x) __attribute__(x)
#else