Whamcloud - gitweb
git://git.whamcloud.com
/
tools
/
e2fsprogs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cbc6a5a
)
blkidP.h: add missing extern "C" declaration
author
Theodore Ts'o
<tytso@mit.edu>
Fri, 14 Apr 2023 15:41:25 +0000
(11:41 -0400)
committer
Theodore Ts'o
<tytso@mit.edu>
Fri, 14 Apr 2023 15:41:25 +0000
(11:41 -0400)
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
lib/blkid/blkidP.h
patch
|
blob
|
history
diff --git
a/lib/blkid/blkidP.h
b/lib/blkid/blkidP.h
index
b3fe4a6
..
68ea572
100644
(file)
--- a/
lib/blkid/blkidP.h
+++ b/
lib/blkid/blkidP.h
@@
-23,9
+23,12
@@
#endif
#include <blkid/blkid.h>
#endif
#include <blkid/blkid.h>
-
#include <blkid/list.h>
#include <blkid/list.h>
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#ifdef __GNUC__
#define __BLKID_ATTR(x) __attribute__(x)
#else
#ifdef __GNUC__
#define __BLKID_ATTR(x) __attribute__(x)
#else