summaryrefslogtreecommitdiffstats
path: root/src/hdcache.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hdcache.h')
-rw-r--r--src/hdcache.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/hdcache.h b/src/hdcache.h
index 5dc4c79..4bc76dc 100644
--- a/src/hdcache.h
+++ b/src/hdcache.h
@@ -19,5 +19,12 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef __cplusplus
+extern "C" {
+#endif
+
disk_t *new_diskcache(disk_t *disk_car, const unsigned int cache_size_min);
+#ifdef __cplusplus
+} /* closing brace for extern "C" */
+#endif