summaryrefslogtreecommitdiffstats
path: root/rbutil/sansapatcher
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-22 17:51:35 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-05-22 17:51:35 +0000
commit3f65a7051f489f141a39faaf85dc2af489b5123e (patch)
tree84c23e570424222240d394e24a58920b7ed8e6d4 /rbutil/sansapatcher
parentb2ee5bc6b68316d3cf7e43923765788b114aa192 (diff)
downloadrockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.tar.gz
rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.tar.bz2
rockbox-3f65a7051f489f141a39faaf85dc2af489b5123e.zip
Move C linkage binding for c++ to exporting header files instead of includes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17609 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/sansapatcher')
-rw-r--r--rbutil/sansapatcher/sansapatcher.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.h b/rbutil/sansapatcher/sansapatcher.h
index 7f113ec083..d082e6b08b 100644
--- a/rbutil/sansapatcher/sansapatcher.h
+++ b/rbutil/sansapatcher/sansapatcher.h
@@ -20,6 +20,10 @@
#ifndef _SANSAPATCHER_H
#define _SANSAPATCHER_H
+#ifdef __cplusplus
+extern "C" {
+#endif
+
#include "sansaio.h"
/* Size of buffer for disk I/O - 8MB is large enough for any version
@@ -40,4 +44,8 @@ int sansa_update_of(struct sansa_t* sansa,char* filename);
int sansa_update_ppbl(struct sansa_t* sansa,char* filename);
void sansa_list_images(struct sansa_t* sansa);
+#ifdef __cplusplus
+}
#endif
+#endif
+