summaryrefslogtreecommitdiff
path: root/libfec
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-10-18 15:14:26 -0700
committerTao Bao <tbao@google.com>2018-10-18 15:17:03 -0700
commite613d1585ee3b272db438efaf0288c4214066c4d (patch)
tree0d84aa86f061deaa4f6a72774496c0a735028f4a /libfec
parente8f995746f85ec048bcc851fecd501bb643c4b96 (diff)
downloadextras-e613d1585ee3b272db438efaf0288c4214066c4d.tar.gz
libfec: Drop the extern "C" wrapping.
squashfs_utils.h does it in its header. Test: `mmma -j system/extra/libfec` Change-Id: I8cc4b5e281fe5649cbb92021285e05e8a5f28ebf
Diffstat (limited to 'libfec')
-rw-r--r--libfec/fec_open.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/libfec/fec_open.cpp b/libfec/fec_open.cpp
index 060f549b..a49e02f4 100644
--- a/libfec/fec_open.cpp
+++ b/libfec/fec_open.cpp
@@ -19,10 +19,7 @@
#include <sys/stat.h>
#include <ext4_utils/ext4_sb.h>
-
-extern "C" {
- #include <squashfs_utils.h>
-}
+#include <squashfs_utils.h>
#if defined(__linux__)
#include <linux/fs.h>